#24116C#24116C

#24116C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.144 H 281.5°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#24116C
RGBrgb(36, 17, 108)
HSLhsl(253, 73%, 25%)
HSVhsv(253, 84%, 42%)
CMYKcmyk(66.7%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.73, 36.00, -48.81)
CIE-LCHlch(14.73, 60.65, 306.41°)
OKLaboklab(28.11% 0.0286 -0.1408)
OKLCHoklch(28.11% 0.144 281.5)
XYZxyz(3.6339, 1.8584, 14.3517)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24116C #596C11
analogous
#112C6C #24116C #51116C
triadic
#24116C #6C2411 #116C24
tetradic
#24116C #6C112C #596C11 #116C51
square
#24116C #6C112C #596C11 #116C51
split-complementary
#24116C #6C5111 #2C6C11
monochromatic
#09041A #120937 #24116C #3619A1 #4722D6

Accessibility & contrast

On white

15.31
#24116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#24116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24116C
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24116C#FFFFFF#000000##FFFFFF
##24116C1.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24116c;
/* rgb */ color: rgb(36, 17, 108);
/* oklch */ color: oklch(28.1% 0.144 281.5);
Tailwind
colors: {
  custom: {
    50: '#6a5397',
    500: '#24116c',
    950: '#000000',
  },
}
SCSS
$custom: #24116c;
$custom-light: #6a5397;
$custom-dark: #000000;
JSON
{
  "hex": "#24116c",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 252.527,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2811,
    "c": 0.1437,
    "h": 281.5
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#24116C
secondary
#8DA435
accent
#EF38C9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #24116C

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

Preview Lab → · Contrast checker → · Palette generator →

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