#24146C#24146C

#24146C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.141 H 281.0°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#24146C
RGBrgb(36, 20, 108)
HSLhsl(251, 69%, 25%)
HSVhsv(251, 81%, 42%)
CMYKcmyk(66.7%, 81.5%, 0%, 57.6%)
CIE-LABlab(15.26, 34.45, -47.92)
CIE-LCHlch(15.26, 59.01, 305.71°)
OKLaboklab(28.49% 0.0268 -0.1383)
OKLCHoklch(28.49% 0.141 281)
XYZxyz(3.6836, 1.9578, 14.3682)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24146C #5C6C14
analogous
#14306C #24146C #50146C
triadic
#24146C #6C2414 #146C24
tetradic
#24146C #6C1430 #5C6C14 #146C50
square
#24146C #6C1430 #5C6C14 #146C50
split-complementary
#24146C #6C5014 #306C14
monochromatic
#09051A #130A38 #24146C #351EA0 #4627D3

Accessibility & contrast

On white

15.09
#24146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#24146C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24146C
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24146C#FFFFFF#000000##FFFFFF
##24146C1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24146c;
/* rgb */ color: rgb(36, 20, 108);
/* oklch */ color: oklch(28.5% 0.141 281.0);
Tailwind
colors: {
  custom: {
    50: '#6a5497',
    500: '#24146c',
    950: '#000000',
  },
}
SCSS
$custom: #24146c;
$custom-light: #6a5497;
$custom-dark: #000000;
JSON
{
  "hex": "#24146c",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 250.909,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28485,
    "c": 0.14085,
    "h": 281
  },
  "luminance": 0.01958
}

Semantic roles & 50–950 ramp

primary
#24146C
secondary
#90A339
accent
#EC3CCC
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #24146C

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

Preview Lab → · Contrast checker → · Palette generator →

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