#24164D#24164D

#24164D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.096 H 289.5°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#24164D
RGBrgb(36, 22, 77)
HSLhsl(255, 56%, 19%)
HSVhsv(255, 71%, 30%)
CMYKcmyk(53.2%, 71.4%, 0%, 69.8%)
CIE-LABlab(12.51, 22.85, -31.66)
CIE-LCHlch(12.51, 39.04, 305.82°)
OKLaboklab(25.56% 0.0321 -0.0907)
OKLCHoklch(25.56% 0.096 289.5)
XYZxyz(2.3536, 1.4846, 7.1823)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24164D #3F4D16
analogous
#16244D #24164D #40164D
triadic
#24164D #4D2416 #164D24
tetradic
#24164D #4D1624 #3F4D16 #164D40
square
#24164D #4D1624 #3F4D16 #164D40
split-complementary
#24164D #4D4016 #244D16
monochromatic
#0B0718 #0E081D #24164D #3A247D #5131AC

Accessibility & contrast

On white

16.19
#24164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#24164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24164D
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24164D#FFFFFF#000000##FFFFFF
##24164D1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#001F4C
Tritanopia (blue-blind)
#16232F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24164d;
/* rgb */ color: rgb(36, 22, 77);
/* oklch */ color: oklch(25.6% 0.096 289.5);
Tailwind
colors: {
  custom: {
    50: '#63547f',
    500: '#24164d',
    950: '#000000',
  },
}
SCSS
$custom: #24164d;
$custom-light: #63547f;
$custom-dark: #000000;
JSON
{
  "hex": "#24164d",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 255.273,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25559,
    "c": 0.09619,
    "h": 289.5
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#24164D
secondary
#72853A
accent
#DF49B9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24164D

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

Preview Lab → · Contrast checker → · Palette generator →

#24164D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva