#24093B#24093B

#24093B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.091 H 304.4°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#24093B
RGBrgb(36, 9, 59)
HSLhsl(272, 74%, 13%)
HSVhsv(272, 85%, 23%)
CMYKcmyk(39%, 84.7%, 0%, 76.9%)
CIE-LABlab(8.01, 25.06, -26.31)
CIE-LCHlch(8.01, 36.33, 313.61°)
OKLaboklab(21.82% 0.0512 -0.0749)
OKLCHoklch(21.82% 0.091 304.4)
XYZxyz(1.6145, 0.8862, 4.2228)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24093B #203B09
analogous
#0B093B #24093B #3B0939
triadic
#24093B #3B2409 #093B24
tetradic
#24093B #3B0B09 #203B09 #09393B
square
#24093B #3B0B09 #203B09 #09393B
split-complementary
#24093B #393B09 #093B0B
monochromatic
#10041B #10041B #24093B #441170 #6519A5

Accessibility & contrast

On white

17.84
#24093B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#24093B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24093B
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24093B#FFFFFF#000000##FFFFFF
##24093B1.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00183A
Tritanopia (blue-blind)
#201521
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #24093b;
/* rgb */ color: rgb(36, 9, 59);
/* oklch */ color: oklch(21.8% 0.091 304.4);
Tailwind
colors: {
  custom: {
    50: '#624b71',
    500: '#24093b',
    950: '#000000',
  },
}
SCSS
$custom: #24093b;
$custom-light: #624b71;
$custom-dark: #000000;
JSON
{
  "hex": "#24093b",
  "rgb": {
    "r": 36,
    "g": 9,
    "b": 59
  },
  "hsl": {
    "h": 272.4,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21817,
    "c": 0.09074,
    "h": 304.4
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#24093B
secondary
#4D7927
accent
#F0388D
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #24093B

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

Preview Lab → · Contrast checker → · Palette generator →

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