#24083E#24083E

#24083E is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.096 H 302.6°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#24083E
RGBrgb(36, 8, 62)
HSLhsl(271, 77%, 14%)
HSVhsv(271, 87%, 24%)
CMYKcmyk(41.9%, 87.1%, 0%, 75.7%)
CIE-LABlab(8.10, 26.47, -28.31)
CIE-LCHlch(8.10, 38.76, 313.07°)
OKLaboklab(21.97% 0.0516 -0.0808)
OKLCHoklch(21.97% 0.096 302.6)
XYZxyz(1.6837, 0.8965, 4.6408)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24083E #223E08
analogous
#09083E #24083E #3E083D
triadic
#24083E #3E2408 #083E24
tetradic
#24083E #3E0908 #223E08 #083D3E
square
#24083E #3E0908 #223E08 #083D3E
split-complementary
#24083E #3D3E08 #083E09
monochromatic
#10031B #10031B #24083E #430F74 #6316AA

Accessibility & contrast

On white

17.81
#24083E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#24083E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24083E
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24083E#FFFFFF#000000##FFFFFF
##24083E1.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)
#001740
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#1F1623
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #24083e;
/* rgb */ color: rgb(36, 8, 62);
/* oklch */ color: oklch(22.0% 0.096 302.6);
Tailwind
colors: {
  custom: {
    50: '#624b74',
    500: '#24083e',
    950: '#000000',
  },
}
SCSS
$custom: #24083e;
$custom-light: #624b74;
$custom-dark: #000000;
JSON
{
  "hex": "#24083e",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 62
  },
  "hsl": {
    "h": 271.111,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21972,
    "c": 0.09587,
    "h": 302.6
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#24083E
secondary
#4F7D25
accent
#F43490
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #24083E

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

Preview Lab → · Contrast checker → · Palette generator →

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