#24083F#24083F

#24083F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.097 H 301.9°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#24083F
RGBrgb(36, 8, 63)
HSLhsl(271, 77%, 14%)
HSVhsv(271, 87%, 25%)
CMYKcmyk(42.9%, 87.3%, 0%, 75.3%)
CIE-LABlab(8.20, 26.76, -28.87)
CIE-LCHlch(8.20, 39.36, 312.82°)
OKLaboklab(22.07% 0.0513 -0.0824)
OKLCHoklch(22.07% 0.097 301.9)
XYZxyz(1.7114, 0.9076, 4.7867)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24083F #233F08
analogous
#08083F #24083F #3F083F
triadic
#24083F #3F2408 #083F24
tetradic
#24083F #3F0808 #233F08 #083F3F
square
#24083F #3F0808 #233F08 #083F3F
split-complementary
#24083F #3F3F08 #083F08
monochromatic
#10031B #10031B #24083F #430F75 #6216AC

Accessibility & contrast

On white

17.77
#24083F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24083F
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24083F#FFFFFF#000000##FFFFFF
##24083F1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001841
Deuteranopia (green-blind)
#00183E
Tritanopia (blue-blind)
#1E1623
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #24083f;
/* rgb */ color: rgb(36, 8, 63);
/* oklch */ color: oklch(22.1% 0.097 301.9);
Tailwind
colors: {
  custom: {
    50: '#624b75',
    500: '#24083f',
    950: '#000000',
  },
}
SCSS
$custom: #24083f;
$custom-light: #624b75;
$custom-dark: #000000;
JSON
{
  "hex": "#24083f",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 63
  },
  "hsl": {
    "h": 270.545,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22072,
    "c": 0.09709,
    "h": 301.9
  },
  "luminance": 0.00908
}

Semantic roles & 50–950 ramp

primary
#24083F
secondary
#517E25
accent
#F43492
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #24083F

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

Preview Lab → · Contrast checker → · Palette generator →

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