#24043A#24043A

#24043A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.097 H 306.6°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#24043A
RGBrgb(36, 4, 58)
HSLhsl(276, 87%, 12%)
HSVhsv(276, 93%, 23%)
CMYKcmyk(37.9%, 93.1%, 0%, 77.3%)
CIE-LABlab(6.93, 27.53, -27.33)
CIE-LCHlch(6.93, 38.79, 315.20°)
OKLaboklab(21% 0.0581 -0.0781)
OKLCHoklch(21% 0.097 306.6)
XYZxyz(1.5345, 0.7674, 4.0695)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24043A #1A3A04
analogous
#09043A #24043A #3A0435
triadic
#24043A #3A2404 #043A24
tetradic
#24043A #3A0904 #1A3A04 #04353A
square
#24043A #3A0904 #1A3A04 #04353A
split-complementary
#24043A #353A04 #043A09
monochromatic
#12021D #12021D #24043A #480873 #6B0CAD

Accessibility & contrast

On white

18.21
#24043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24043A
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24043A#FFFFFF#000000##FFFFFF
##24043A1.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24043a;
/* rgb */ color: rgb(36, 4, 58);
/* oklch */ color: oklch(21.0% 0.097 306.6);
Tailwind
colors: {
  custom: {
    50: '#624871',
    500: '#24043a',
    950: '#000000',
  },
}
SCSS
$custom: #24043a;
$custom-light: #624871;
$custom-dark: #000000;
JSON
{
  "hex": "#24043a",
  "rgb": {
    "r": 36,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 275.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20999,
    "c": 0.09733,
    "h": 306.6
  },
  "luminance": 0.00767
}

Semantic roles & 50–950 ramp

primary
#24043A
secondary
#447C1E
accent
#FD2B80
background
#F6F4F6
surface
#EBE6EC
border
#C6C2C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #24043A

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

Preview Lab → · Contrast checker → · Palette generator →

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