#24164B#24164B

#24164B is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.093 H 290.3°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#24164B
RGBrgb(36, 22, 75)
HSLhsl(256, 55%, 19%)
HSVhsv(256, 71%, 29%)
CMYKcmyk(52%, 70.7%, 0%, 70.6%)
CIE-LABlab(12.33, 22.17, -30.57)
CIE-LCHlch(12.33, 37.76, 305.96°)
OKLaboklab(25.37% 0.0324 -0.0875)
OKLCHoklch(25.37% 0.093 290.3)
XYZxyz(2.2841, 1.4568, 6.8161)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24164B #3D4B16
analogous
#16234B #24164B #3F164B
triadic
#24164B #4B2416 #164B24
tetradic
#24164B #4B1623 #3D4B16 #164B3F
square
#24164B #4B1623 #3D4B16 #164B3F
split-complementary
#24164B #4B3F16 #234B16
monochromatic
#0B0718 #0D081C #24164B #3B247A #5132AA

Accessibility & contrast

On white

16.26
#24164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#24164B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24164B
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24164B#FFFFFF#000000##FFFFFF
##24164B1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#001F4A
Tritanopia (blue-blind)
#18232E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #24164b;
/* rgb */ color: rgb(36, 22, 75);
/* oklch */ color: oklch(25.4% 0.093 290.3);
Tailwind
colors: {
  custom: {
    50: '#63547e',
    500: '#24164b',
    950: '#000000',
  },
}
SCSS
$custom: #24164b;
$custom-light: #63547e;
$custom-dark: #000000;
JSON
{
  "hex": "#24164b",
  "rgb": {
    "r": 36,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 255.849,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25373,
    "c": 0.09326,
    "h": 290.3
  },
  "luminance": 0.01457
}

Semantic roles & 50–950 ramp

primary
#24164B
secondary
#6F833A
accent
#DE4AB7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #24164B

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

Preview Lab → · Contrast checker → · Palette generator →

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