Recognised as Colour
#270C38
- #270C38
- Violet
- Dark
- Nearest: Midnight blue
#270C38 is a violet with RGB values 39, 12, 56 and HSL 277°, 65%, 13%. It is a dark colour, so white text on it reaches 17.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#270C38#270C38
HEX#270C38
RGBrgb(39, 12, 56)
RGB (0–1)0.1529, 0.0471, 0.2196
RGB percentages15.3%, 4.7%, 22%
HSLhsl(276.8, 64.7%, 13.3%)
HSV / HSBhsv(276.8, 78.6%, 22%)
CMYK30.4%, 78.6%, 0%, 78%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,559,032
CSS custom property--colour: #270C38;
Brightness & contrast
Relative luminance0.0098WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.56:1
Contrast with white17.56:1WCAG normal text: AAA
Contrast with black1.2:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#D8F3C7
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.56:1WCAG large text: AAA
Contrast with black, large text1.2:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1D380C
Analogous#110C38, #380C33
Triadic#38270C, #0C3827
Split complementary#33380C, #0C3811
Tetradic#38110C, #1D380C, #0C3338
Tints, shades & saturation
Channel breakdown
R39
G12
B56
Red39 (15.3%)
Green12 (4.7%)
Blue56 (22%)
Hue276.82°
Saturation (HSL)64.71%
Lightness13.33%
Dominant channelBlue
Hex per channelR 27 · G 0C · B 38
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