#24116E#24116E

#24116E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.146 H 281.0°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#24116E
RGBrgb(36, 17, 110)
HSLhsl(252, 73%, 25%)
HSVhsv(252, 85%, 43%)
CMYKcmyk(67.3%, 84.5%, 0%, 56.9%)
CIE-LABlab(14.96, 36.63, -49.72)
CIE-LCHlch(14.96, 61.76, 306.38°)
OKLaboklab(28.34% 0.0279 -0.1435)
OKLCHoklch(28.34% 0.146 281)
XYZxyz(3.7416, 1.9015, 14.9187)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24116E #5B6E11
analogous
#112D6E #24116E #52116E
triadic
#24116E #6E2411 #116E24
tetradic
#24116E #6E112D #5B6E11 #116E52
square
#24116E #6E112D #5B6E11 #116E52
split-complementary
#24116E #6E5211 #2D6E11
monochromatic
#09041B #130939 #24116E #3519A3 #4721D8

Accessibility & contrast

On white

15.21
#24116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24116E
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24116E#FFFFFF#000000##FFFFFF
##24116E1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24116e;
/* rgb */ color: rgb(36, 17, 110);
/* oklch */ color: oklch(28.3% 0.146 281.0);
Tailwind
colors: {
  custom: {
    50: '#6b5399',
    500: '#24116e',
    950: '#000000',
  },
}
SCSS
$custom: #24116e;
$custom-light: #6b5399;
$custom-dark: #000000;
JSON
{
  "hex": "#24116e",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 252.258,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28343,
    "c": 0.14619,
    "h": 281
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#24116E
secondary
#8FA535
accent
#F038CA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #24116E

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

Preview Lab → · Contrast checker → · Palette generator →

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