#24033B#24033B

#24033B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.100 H 306.2°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#24033B
RGBrgb(36, 3, 59)
HSLhsl(275, 90%, 12%)
HSVhsv(275, 95%, 23%)
CMYKcmyk(39%, 94.9%, 0%, 76.9%)
CIE-LABlab(6.83, 28.38, -28.22)
CIE-LCHlch(6.83, 40.02, 315.16°)
OKLaboklab(20.95% 0.0591 -0.0807)
OKLCHoklch(20.95% 0.1 306.2)
XYZxyz(1.5494, 0.7560, 4.2011)
Luminance0.0076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24033B #1A3B03
analogous
#08033B #24033B #3B0336
triadic
#24033B #3B2403 #033B24
tetradic
#24033B #3B0803 #1A3B03 #03363B
square
#24033B #3B0803 #1A3B03 #03363B
split-complementary
#24033B #363B03 #033B08
monochromatic
#12011D #12011D #24033B #480675 #6B09AF

Accessibility & contrast

On white

18.24
#24033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#24033B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24033B
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24033B#FFFFFF#000000##FFFFFF
##24033B1.0018.241.1518.24
#FFFFFF18.241.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#20121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #24033b;
/* rgb */ color: rgb(36, 3, 59);
/* oklch */ color: oklch(21.0% 0.100 306.2);
Tailwind
colors: {
  custom: {
    50: '#624871',
    500: '#24033b',
    950: '#000000',
  },
}
SCSS
$custom: #24033b;
$custom-light: #624871;
$custom-dark: #000000;
JSON
{
  "hex": "#24033b",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 275.357,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20952,
    "c": 0.10008,
    "h": 306.2
  },
  "luminance": 0.00756
}

Semantic roles & 50–950 ramp

primary
#24033B
secondary
#447E1C
accent
#FF2981
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050008
muted
#7A777B

Preview Lab

Preview with #24033B

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

Preview Lab → · Contrast checker → · Palette generator →

#24033B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva