Nerdulator> put something in

Recognised as Colour

#310B68

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

#310B68 is a violet with RGB values 49, 11, 104 and HSL 265°, 81%, 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

#310B68#310B68
HEX#310B68
RGBrgb(49, 11, 104)
RGB (0–1)0.1922, 0.0431, 0.4078
RGB percentages19.2%, 4.3%, 40.8%
HSLhsl(264.5, 80.9%, 22.5%)
HSV / HSBhsv(264.5, 89.4%, 40.8%)
CMYK52.9%, 89.4%, 0%, 59.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,214,184
CSS custom property--colour: #310B68;

Brightness & contrast

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

Colour vision & accessibility

Protanopia#00276Ano red cones; affects about 1% of men; ΔE 22 from the original
Deuteranopia#002466no green cones; the most common form, about 1% of men; ΔE 21.5 from the original
Tritanopia#1F283Cno blue cones; rare, and affects men and women equally; ΔE 48.5 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text15.24:1WCAG large text: AAA
Contrast with black, large text1.38:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#42680B
Analogous#0B1468, #5F0B68
Triadic#68310B, #0B6831
Split complementary#685F0B, #14680B
Tetradic#680B14, #42680B, #0B685F

Tints, shades & saturation

Lighter +40%#9152ED
Lighter +30%#7424E8
Lighter +20%#5C15C4
Lighter +10%#471096
Darker −10%#1B063A
Darker −20%#06010C
Darker −30%#000000
Darker −40%#000000
More saturated +25%#2F0073
Less saturated −25%#34195A

Channel breakdown

R49
G11
B104
Red49 (19.2%)
Green11 (4.3%)
Blue104 (40.8%)
Hue264.52°
Saturation (HSL)80.87%
Lightness22.55%
Dominant channelBlue
Hex per channelR 31 · G 0B · B 68

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