#24136C#24136C

#24136C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.142 H 281.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#24136C
RGBrgb(36, 19, 108)
HSLhsl(251, 70%, 25%)
HSVhsv(251, 82%, 42%)
CMYKcmyk(66.7%, 82.4%, 0%, 57.6%)
CIE-LABlab(15.08, 34.98, -48.22)
CIE-LCHlch(15.08, 59.57, 305.95°)
OKLaboklab(28.36% 0.0274 -0.1392)
OKLCHoklch(28.36% 0.142 281.1)
XYZxyz(3.6663, 1.9232, 14.3625)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24136C #5B6C13
analogous
#132E6C #24136C #51136C
triadic
#24136C #6C2413 #136C24
tetradic
#24136C #6C132E #5B6C13 #136C51
square
#24136C #6C132E #5B6C13 #136C51
split-complementary
#24136C #6C5113 #2E6C13
monochromatic
#09051A #130A38 #24136C #351CA0 #4725D4

Accessibility & contrast

On white

15.16
#24136C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24136C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24136C
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24136C#FFFFFF#000000##FFFFFF
##24136C1.0015.161.3815.16
#FFFFFF15.161.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00236A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24136c;
/* rgb */ color: rgb(36, 19, 108);
/* oklch */ color: oklch(28.4% 0.142 281.1);
Tailwind
colors: {
  custom: {
    50: '#6a5497',
    500: '#24136c',
    950: '#000000',
  },
}
SCSS
$custom: #24136c;
$custom-light: #6a5497;
$custom-dark: #000000;
JSON
{
  "hex": "#24136c",
  "rgb": {
    "r": 36,
    "g": 19,
    "b": 108
  },
  "hsl": {
    "h": 251.461,
    "s": 70.079,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28356,
    "c": 0.14183,
    "h": 281.1
  },
  "luminance": 0.01924
}

Semantic roles & 50–950 ramp

primary
#24136C
secondary
#8FA338
accent
#ED3BCB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24136C

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

Preview Lab → · Contrast checker → · Palette generator →

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