#24116A#24116A

#24116A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.141 H 282.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#24116A
RGBrgb(36, 17, 106)
HSLhsl(253, 72%, 24%)
HSVhsv(253, 84%, 42%)
CMYKcmyk(66%, 84%, 0%, 58.4%)
CIE-LABlab(14.49, 35.37, -47.88)
CIE-LCHlch(14.49, 59.53, 306.45°)
OKLaboklab(27.88% 0.0293 -0.1381)
OKLCHoklch(27.88% 0.141 282)
XYZxyz(3.5287, 1.8163, 13.7975)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24116A #576A11
analogous
#112B6A #24116A #51116A
triadic
#24116A #6A2411 #116A24
tetradic
#24116A #6A112B #576A11 #116A51
square
#24116A #6A112B #576A11 #116A51
split-complementary
#24116A #6A5111 #2B6A11
monochromatic
#09041A #120935 #24116A #36199F #4822D3

Accessibility & contrast

On white

15.40
#24116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#24116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24116A
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24116A#FFFFFF#000000##FFFFFF
##24116A1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002C3E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24116a;
/* rgb */ color: rgb(36, 17, 106);
/* oklch */ color: oklch(27.9% 0.141 282.0);
Tailwind
colors: {
  custom: {
    50: '#6a5296',
    500: '#24116a',
    950: '#000000',
  },
}
SCSS
$custom: #24116a;
$custom-light: #6a5296;
$custom-dark: #000000;
JSON
{
  "hex": "#24116a",
  "rgb": {
    "r": 36,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 252.809,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.27879,
    "c": 0.14121,
    "h": 282
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#24116A
secondary
#8BA235
accent
#EF39C8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #24116A

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

Preview Lab → · Contrast checker → · Palette generator →

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