#150024#150024

#150024 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.3% C 0.078 H 308.3°. Best body text is #FFFFFF at 19.86:1 contrast (WCAG AA passes).

Color values

HEX#150024
RGBrgb(21, 0, 36)
HSLhsl(275, 100%, 7%)
HSVhsv(275, 100%, 14%)
CMYKcmyk(41.7%, 100%, 0%, 85.9%)
CIE-LABlab(2.59, 14.54, -17.85)
CIE-LCHlch(2.59, 23.02, 309.18°)
OKLaboklab(15.28% 0.0483 -0.0612)
OKLCHoklch(15.28% 0.078 308.3)
XYZxyz(0.6276, 0.2868, 1.6910)
Luminance0.0029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150024 #0F2400
analogous
#030024 #150024 #240021
triadic
#150024 #241500 #002415
tetradic
#150024 #240300 #0F2400 #002124
square
#150024 #240300 #0F2400 #002124
split-complementary
#150024 #212400 #002403
monochromatic
#12001F #12001F #150024 #390061 #5C009E

Accessibility & contrast

On white

19.86
#150024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#150024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150024
19.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150024#FFFFFF#000000##FFFFFF
##1500241.0019.861.0619.86
#FFFFFF19.861.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000925
Deuteranopia (green-blind)
#000A23
Tritanopia (blue-blind)
#120711
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #150024;
/* rgb */ color: rgb(21, 0, 36);
/* oklch */ color: oklch(15.3% 0.078 308.3);
Tailwind
colors: {
  custom: {
    50: '#52465e',
    500: '#150024',
    950: '#000000',
  },
}
SCSS
$custom: #150024;
$custom-light: #52465e;
$custom-dark: #000000;
JSON
{
  "hex": "#150024",
  "rgb": {
    "r": 21,
    "g": 0,
    "b": 36
  },
  "hsl": {
    "h": 275,
    "s": 100,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15279,
    "c": 0.07798,
    "h": 308.3
  },
  "luminance": 0.00287
}

Semantic roles & 50–950 ramp

primary
#150024
secondary
#386D13
accent
#FF2982
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #150024

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#150024 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva