Recognised as Colour
#38125D
- #38125D
- Violet
- Dark
- Nearest: Midnight blue
#38125D is a violet with RGB values 56, 18, 93 and HSL 270°, 68%, 22%. It is a dark colour, so white text on it reaches 14.9:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#38125D#38125D
HEX#38125D
RGBrgb(56, 18, 93)
RGB (0–1)0.2196, 0.0706, 0.3647
RGB percentages22%, 7.1%, 36.5%
HSLhsl(270.4, 67.6%, 21.8%)
HSV / HSBhsv(270.4, 80.6%, 36.5%)
CMYK39.8%, 80.6%, 0%, 63.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,674,717
CSS custom property--colour: #38125D;
Brightness & contrast
Relative luminance0.02064WCAG 2.x, 0 is black and 1 is white
Perceived brightness46 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 14.86:1
Contrast with white14.86:1WCAG normal text: AAA
Contrast with black1.41:1WCAG normal text: Fail
Greyscale equivalent#1F1F1F
Inverted#C7EDA2
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text14.86:1WCAG large text: AAA
Contrast with black, large text1.41:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#375D12
Analogous#13125D, #5D125C
Triadic#5D3812, #125D38
Split complementary#5C5D12, #125D13
Tetradic#5D1312, #375D12, #125C5D
Tints, shades & saturation
Channel breakdown
R56
G18
B93
Red56 (22%)
Green18 (7.1%)
Blue93 (36.5%)
Hue270.4°
Saturation (HSL)67.57%
Lightness21.76%
Dominant channelBlue
Hex per channelR 38 · G 12 · B 5D
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page