Nerdulator> put something in

Recognised as Colour

#310F5A

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

#310F5A is a violet with RGB values 49, 15, 90 and HSL 267°, 71%, 21%. It is a dark colour, so white text on it reaches 15.6:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#310F5A#310F5A
HEX#310F5A
RGBrgb(49, 15, 90)
RGB (0–1)0.1922, 0.0588, 0.3529
RGB percentages19.2%, 5.9%, 35.3%
HSLhsl(267.2, 71.4%, 20.6%)
HSV / HSBhsv(267.2, 83.3%, 35.3%)
CMYK45.6%, 83.3%, 0%, 64.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,215,194
CSS custom property--colour: #310F5A;

Brightness & contrast

Relative luminance0.01733WCAG 2.x, 0 is black and 1 is white
Perceived brightness42.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 15.6:1
Contrast with white15.6:1WCAG normal text: AAA
Contrast with black1.35:1WCAG normal text: Fail
Greyscale equivalent#1C1C1C
Inverted#CEF0A5

Colour vision & accessibility

Protanopia#00245Cno red cones; affects about 1% of men; ΔE 20.1 from the original
Deuteranopia#002359no green cones; the most common form, about 1% of men; ΔE 20.8 from the original
Tritanopia#272334no blue cones; rare, and affects men and women equally; ΔE 38.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text15.6:1WCAG large text: AAA
Contrast with black, large text1.35:1WCAG large text: Fail

Named colours

Nearest named CSS colourMidnight blue (#191970)ΔE 11.87, a distinctly different colour
Hue familyviolet
CSS keyword usableNo exact keyword

Colour harmonies

Complementary#385A0F
Analogous#0F125A, #570F5A
Triadic#5A310F, #0F5A31
Split complementary#5A560F, #135A0F
Tetradic#5A0F12, #385A0F, #0F5A57

Tints, shades & saturation

Lighter +40%#9453E2
Lighter +30%#7927DB
Lighter +20%#611EB1
Lighter +10%#491686
Darker −10%#19082E
Darker −20%#010003
Darker −30%#000000
Darker −40%#000000
More saturated +25%#300267
Less saturated −25%#321C4D

Channel breakdown

R49
G15
B90
Red49 (19.2%)
Green15 (5.9%)
Blue90 (35.3%)
Hue267.2°
Saturation (HSL)71.43%
Lightness20.59%
Dominant channelBlue
Hex per channelR 31 · G 0F · B 5A

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