#24146A#24146A

#24146A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.138 H 281.4°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#24146A
RGBrgb(36, 20, 106)
HSLhsl(251, 68%, 25%)
HSVhsv(251, 81%, 42%)
CMYKcmyk(66%, 81.1%, 0%, 58.4%)
CIE-LABlab(15.04, 33.79, -46.98)
CIE-LCHlch(15.04, 57.87, 305.73°)
OKLaboklab(28.26% 0.0274 -0.1355)
OKLCHoklch(28.26% 0.138 281.4)
XYZxyz(3.5784, 1.9157, 13.8141)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24146A #5A6A14
analogous
#142F6A #24146A #4F146A
triadic
#24146A #6A2414 #146A24
tetradic
#24146A #6A142F #5A6A14 #146A4F
square
#24146A #6A142F #5A6A14 #146A4F
split-complementary
#24146A #6A4F14 #2F6A14
monochromatic
#09051A #130A37 #24146A #351E9D #4727D1

Accessibility & contrast

On white

15.18
#24146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24146A
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24146A#FFFFFF#000000##FFFFFF
##24146A1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002368
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24146a;
/* rgb */ color: rgb(36, 20, 106);
/* oklch */ color: oklch(28.3% 0.138 281.4);
Tailwind
colors: {
  custom: {
    50: '#695496',
    500: '#24146a',
    950: '#000000',
  },
}
SCSS
$custom: #24146a;
$custom-light: #695496;
$custom-dark: #000000;
JSON
{
  "hex": "#24146a",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 251.163,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2826,
    "c": 0.13828,
    "h": 281.4
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#24146A
secondary
#8EA139
accent
#EB3DCB
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #24146A

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

Preview Lab → · Contrast checker → · Palette generator →

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