Nerdulator> put something in

Recognised as Colour

#310F4E

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

#310F4E is a violet with RGB values 49, 15, 78 and HSL 272°, 68%, 18%. 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

#310F4E#310F4E
HEX#310F4E
RGBrgb(49, 15, 78)
RGB (0–1)0.1922, 0.0588, 0.3059
RGB percentages19.2%, 5.9%, 30.6%
HSLhsl(272.4, 67.7%, 18.2%)
HSV / HSBhsv(272.4, 80.8%, 30.6%)
CMYK37.2%, 80.8%, 0%, 69.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,215,182
CSS custom property--colour: #310F4E;

Brightness & contrast

Relative luminance0.01545WCAG 2.x, 0 is black and 1 is white
Perceived brightness39.3 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 16.04:1
Contrast with white16.04:1WCAG normal text: AAA
Contrast with black1.31:1WCAG normal text: Fail
Greyscale equivalent#1B1B1B
Inverted#CEF0B1

Colour vision & accessibility

Protanopia#002150no red cones; affects about 1% of men; ΔE 20 from the original
Deuteranopia#00214Dno green cones; the most common form, about 1% of men; ΔE 21.5 from the original
Tritanopia#2B1E2Dno blue cones; rare, and affects men and women equally; ΔE 31.6 from the original
Distinguishable without hueYesnever rely on hue alone to carry meaning
Contrast with white, large text16.04:1WCAG large text: AAA
Contrast with black, large text1.31:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#2C4E0F
Analogous#110F4E, #4E0F4C
Triadic#4E310F, #0F4E31
Split complementary#4C4E0F, #0F4E11
Tetradic#4E110F, #2C4E0F, #0F4C4E

Tints, shades & saturation

Lighter +40%#9A4CDD
Lighter +30%#8228CE
Lighter +20%#671FA4
Lighter +10%#4C1779
Darker −10%#160723
Darker −20%#000000
Darker −30%#000000
Darker −40%#000000
More saturated +25%#32035A
Less saturated −25%#301B42

Channel breakdown

R49
G15
B78
Red49 (19.2%)
Green15 (5.9%)
Blue78 (30.6%)
Hue272.38°
Saturation (HSL)67.74%
Lightness18.24%
Dominant channelBlue
Hex per channelR 31 · G 0F · B 4E

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