#24083B#24083B

#24083B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.092 H 304.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#24083B
RGBrgb(36, 8, 59)
HSLhsl(273, 76%, 13%)
HSVhsv(273, 86%, 23%)
CMYKcmyk(39%, 86.4%, 0%, 76.9%)
CIE-LABlab(7.81, 25.61, -26.63)
CIE-LCHlch(7.81, 36.95, 313.89°)
OKLaboklab(21.68% 0.0525 -0.0758)
OKLCHoklch(21.68% 0.092 304.7)
XYZxyz(1.6036, 0.8645, 4.2192)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24083B #1F3B08
analogous
#0A083B #24083B #3B0838
triadic
#24083B #3B2408 #083B24
tetradic
#24083B #3B0A08 #1F3B08 #08383B
square
#24083B #3B0A08 #1F3B08 #08383B
split-complementary
#24083B #383B08 #083B0A
monochromatic
#10041B #10041B #24083B #450F71 #6617A7

Accessibility & contrast

On white

17.90
#24083B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#24083B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24083B
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24083B#FFFFFF#000000##FFFFFF
##24083B1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24083b;
/* rgb */ color: rgb(36, 8, 59);
/* oklch */ color: oklch(21.7% 0.092 304.7);
Tailwind
colors: {
  custom: {
    50: '#624a71',
    500: '#24083b',
    950: '#000000',
  },
}
SCSS
$custom: #24083b;
$custom-light: #624a71;
$custom-dark: #000000;
JSON
{
  "hex": "#24083b",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 59
  },
  "hsl": {
    "h": 272.941,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21677,
    "c": 0.09222,
    "h": 304.7
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#24083B
secondary
#4B7A25
accent
#F3358B
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #24083B

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

Preview Lab → · Contrast checker → · Palette generator →

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