Nerdulator> put something in

Recognised as Colour

#310C67

  • #310C67
  • Violet
  • Dark
  • Nearest: Midnight blue

#310C67 is a violet with RGB values 49, 12, 103 and HSL 264°, 79%, 23%. It is a dark colour, so white text on it reaches 15.2:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#310C67#310C67
HEX#310C67
RGBrgb(49, 12, 103)
RGB (0–1)0.1922, 0.0471, 0.4039
RGB percentages19.2%, 4.7%, 40.4%
HSLhsl(264.4, 79.1%, 22.5%)
HSV / HSBhsv(264.4, 88.3%, 40.4%)
CMYK52.4%, 88.3%, 0%, 59.6%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,439
CSS custom property--colour: #310C67;

Brightness & contrast

Relative luminance0.01895WCAG 2.x, 0 is black and 1 is white
Perceived brightness44.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.23:1
Contrast with white15.23:1WCAG normal text: AAA
Contrast with black1.38:1WCAG normal text: Fail
Greyscale equivalent#1A1A1A
Inverted#CEF398

Colour vision & accessibility

Protanopia#002769no red cones; affects about 1% of men; ΔE 21.7 from the original
Deuteranopia#002465no green cones; the most common form, about 1% of men; ΔE 21.2 from the original
Tritanopia#1F283Bno blue cones; rare, and affects men and women equally; ΔE 48.2 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.23:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 8.03, clearly different but related
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#42670C
Analogous#0C1467, #5F0C67
Triadic#67310C, #0C6731
Split complementary#675F0C, #14670C
Tetradic#670C14, #42670C, #0C675F

Tints, shades & saturation

Lighter +40%#9154EB
Lighter +30%#7426E6
Lighter +20%#5C17C2
Lighter +10%#471195
Darker −10%#1B0739
Darker −20%#06010C
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2F0073
Less saturated −25%#341A59

Channel breakdown

R49
G12
B103
Red49 (19.2%)
Green12 (4.7%)
Blue103 (40.4%)
Hue264.4°
Saturation (HSL)79.13%
Lightness22.55%
Dominant channelBlue
Hex per channelR 31 · G 0C · B 67

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 “310c67” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.