#24093C#24093C

#24093C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.092 H 303.7°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#24093C
RGBrgb(36, 9, 60)
HSLhsl(272, 74%, 14%)
HSVhsv(272, 85%, 24%)
CMYKcmyk(40%, 85%, 0%, 76.5%)
CIE-LABlab(8.10, 25.34, -26.88)
CIE-LCHlch(8.10, 36.94, 313.32°)
OKLaboklab(21.91% 0.051 -0.0766)
OKLCHoklch(21.91% 0.092 303.7)
XYZxyz(1.6407, 0.8967, 4.3607)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24093C #213C09
analogous
#0A093C #24093C #3C093A
triadic
#24093C #3C2409 #093C24
tetradic
#24093C #3C0A09 #213C09 #093A3C
square
#24093C #3C0A09 #213C09 #093A3C
split-complementary
#24093C #3A3C09 #093C0A
monochromatic
#10041B #10041B #24093C #441171 #6419A6

Accessibility & contrast

On white

17.81
#24093C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24093C
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24093C#FFFFFF#000000##FFFFFF
##24093C1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#1F1622
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #24093c;
/* rgb */ color: rgb(36, 9, 60);
/* oklch */ color: oklch(21.9% 0.092 303.7);
Tailwind
colors: {
  custom: {
    50: '#624b72',
    500: '#24093c',
    950: '#000000',
  },
}
SCSS
$custom: #24093c;
$custom-light: #624b72;
$custom-dark: #000000;
JSON
{
  "hex": "#24093c",
  "rgb": {
    "r": 36,
    "g": 9,
    "b": 60
  },
  "hsl": {
    "h": 271.765,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21913,
    "c": 0.09199,
    "h": 303.7
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#24093C
secondary
#4E7A27
accent
#F1378E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #24093C

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

Preview Lab → · Contrast checker → · Palette generator →

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