Recognised as Colour
#270C61
- #270C61
- Violet
- Dark
- Nearest: Midnight blue
#270C61 is a violet with RGB values 39, 12, 97 and HSL 259°, 78%, 21%. It is a dark colour, so white text on it reaches 16:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.
Colour values
#270C61#270C61
HEX#270C61
RGBrgb(39, 12, 97)
RGB (0–1)0.1529, 0.0471, 0.3804
RGB percentages15.3%, 4.7%, 38%
HSLhsl(259.1, 78%, 21.4%)
HSV / HSBhsv(259.1, 87.6%, 38%)
CMYK59.8%, 87.6%, 0%, 62%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer2,559,073
CSS custom property--colour: #270C61;
Brightness & contrast
Relative luminance0.01557WCAG 2.x, 0 is black and 1 is white
Perceived brightness40.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.01:1
Contrast with white16.01:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#181818
Inverted#D8F39E
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text16.01:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail
Named colours
Hue familyviolet
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#46610C
Analogous#0C1C61, #510C61
Triadic#61270C, #0C6127
Split complementary#61520C, #1C610C
Tetradic#610C1C, #46610C, #0C6151
Tints, shades & saturation
Channel breakdown
R39
G12
B97
Red39 (15.3%)
Green12 (4.7%)
Blue97 (38%)
Hue259.06°
Saturation (HSL)77.98%
Lightness21.37%
Dominant channelBlue
Hex per channelR 27 · G 0C · B 61
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