Nerdulator> put something in

Recognised as Colour

#30157D

  • #30157D
  • Violet
  • Dark
  • Nearest: Midnight blue

#30157D is a violet with RGB values 48, 21, 125 and HSL 256°, 71%, 29%. It is a dark colour, so white text on it reaches 13.7:1 contrast (AAA for normal text). The nearest named colour is Midnight blue.

Colour values

#30157D#30157D
HEX#30157D
RGBrgb(48, 21, 125)
RGB (0–1)0.1882, 0.0824, 0.4902
RGB percentages18.8%, 8.2%, 49%
HSLhsl(255.6, 71.2%, 28.6%)
HSV / HSBhsv(255.6, 83.2%, 49%)
CMYK61.6%, 83.2%, 0%, 51%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer3,151,229
CSS custom property--colour: #30157D;

Brightness & contrast

Relative luminance0.02645WCAG 2.x, 0 is black and 1 is white
Perceived brightness52.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 13.73:1
Contrast with white13.73:1WCAG normal text: AAA
Contrast with black1.53:1WCAG normal text: Fail
Greyscale equivalent#222222
Inverted#CFEA82

Colour vision & accessibility

Protanopia#003080no red cones; affects about 1% of men; ΔE 21 from the original
Deuteranopia#002A7Bno green cones; the most common form, about 1% of men; ΔE 18.5 from the original
Tritanopia#00344Ano blue cones; rare, and affects men and women equally; ΔE 59 from the original
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text13.73:1WCAG large text: AAA
Contrast with black, large text1.53:1WCAG large text: Fail

Named colours

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

Colour harmonies

Complementary#627D15
Analogous#152E7D, #64157D
Triadic#7D3015, #157D30
Split complementary#7D6415, #2E7D15
Tetradic#7D152E, #627D15, #157D64

Tints, shades & saturation

Lighter +40%#9476E8
Lighter +30%#714AE1
Lighter +20%#5224D4
Lighter +10%#411CA9
Darker −10%#1F0E51
Darker −20%#0E0626
Darker −30%#000000
Darker −40%#000000
More saturated +25%#27038F
Less saturated −25%#39276B

Channel breakdown

R48
G21
B125
Red48 (18.8%)
Green21 (8.2%)
Blue125 (49%)
Hue255.58°
Saturation (HSL)71.23%
Lightness28.63%
Dominant channelBlue
Hex per channelR 30 · G 15 · B 7D

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