Recognised as Colour
#270C36
- #270C36
- Violet
- Dark
- Nearest: Midnight blue
#270C36 is a violet with RGB values 39, 12, 54 and HSL 279°, 64%, 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
#270C36#270C36
HEX#270C36
RGBrgb(39, 12, 54)
RGB (0–1)0.1529, 0.0471, 0.2118
RGB percentages15.3%, 4.7%, 21.2%
HSLhsl(278.6, 63.6%, 12.9%)
HSV / HSBhsv(278.6, 77.8%, 21.2%)
CMYK27.8%, 77.8%, 0%, 78.8%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,559,030
CSS custom property--colour: #270C36;
Brightness & contrast
Relative luminance0.00961WCAG 2.x, 0 is black and 1 is white
Perceived brightness29.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 17.62:1
Contrast with white17.62:1WCAG normal text: AAA
Contrast with black1.19:1WCAG normal text: Fail
Greyscale equivalent#151515
Inverted#D8F3C9
Colour vision & accessibility
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text17.62:1WCAG large text: AAA
Contrast with black, large text1.19:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#1B360C
Analogous#120C36, #360C30
Triadic#36270C, #0C3627
Split complementary#30360C, #0C3612
Tetradic#36120C, #1B360C, #0C3036
Tints, shades & saturation
Channel breakdown
R39
G12
B54
Red39 (15.3%)
Green12 (4.7%)
Blue54 (21.2%)
Hue278.57°
Saturation (HSL)63.64%
Lightness12.94%
Dominant channelBlue
Hex per channelR 27 · G 0C · B 36
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