Nerdulator> put something in

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

Protanopia#001839no red cones; affects about 1% of men; ΔE 17.3 from the original
Deuteranopia#051A37no green cones; the most common form, about 1% of men; ΔE 18.9 from the original
Tritanopia#251520no blue cones; rare, and affects men and women equally; ΔE 22.5 from the original
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

Nearest named CSS colourMidnight blue (#191970)ΔE 28.94, a distinctly different colour
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

Lighter +40%#993BD5
Lighter +30%#7F27B6
Lighter +20%#611E8C
Lighter +10%#441562
Darker −10%#0A030E
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#290441
Less saturated −25%#251430

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “270c38” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.