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
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
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
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.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page