#24033A#24033A

#24033A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.099 H 306.9°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#24033A
RGBrgb(36, 3, 58)
HSLhsl(276, 90%, 12%)
HSVhsv(276, 95%, 23%)
CMYKcmyk(37.9%, 94.8%, 0%, 77.3%)
CIE-LABlab(6.74, 28.07, -27.65)
CIE-LCHlch(6.74, 39.40, 315.44°)
OKLaboklab(20.85% 0.0595 -0.0791)
OKLCHoklch(20.85% 0.099 306.9)
XYZxyz(1.5237, 0.7457, 4.0658)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24033A #193A03
analogous
#09033A #24033A #3A0335
triadic
#24033A #3A2403 #033A24
tetradic
#24033A #3A0903 #193A03 #03353A
square
#24033A #3A0903 #193A03 #03353A
split-complementary
#24033A #353A03 #033A09
monochromatic
#12021D #12021D #24033A #480674 #6C09AE

Accessibility & contrast

On white

18.27
#24033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24033A
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24033A#FFFFFF#000000##FFFFFF
##24033A1.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#20111F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #24033a;
/* rgb */ color: rgb(36, 3, 58);
/* oklch */ color: oklch(20.8% 0.099 306.9);
Tailwind
colors: {
  custom: {
    50: '#624871',
    500: '#24033a',
    950: '#000000',
  },
}
SCSS
$custom: #24033a;
$custom-light: #624871;
$custom-dark: #000000;
JSON
{
  "hex": "#24033a",
  "rgb": {
    "r": 36,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 276,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.20848,
    "c": 0.09901,
    "h": 306.9
  },
  "luminance": 0.00746
}

Semantic roles & 50–950 ramp

primary
#24033A
secondary
#437D1C
accent
#FF297E
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050007
muted
#7A777A

Preview Lab

Preview with #24033A

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

Preview Lab → · Contrast checker → · Palette generator →

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