#24104D#24104D

#24104D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.105 H 291.8°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#24104D
RGBrgb(36, 16, 77)
HSLhsl(260, 66%, 18%)
HSVhsv(260, 79%, 30%)
CMYKcmyk(53.2%, 79.2%, 0%, 69.8%)
CIE-LABlab(11.14, 26.61, -33.88)
CIE-LCHlch(11.14, 43.08, 308.14°)
OKLaboklab(24.58% 0.0389 -0.0972)
OKLCHoklch(24.58% 0.105 291.8)
XYZxyz(2.2520, 1.2814, 7.1484)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24104D #394D10
analogous
#101A4D #24104D #42104D
triadic
#24104D #4D2410 #104D24
tetradic
#24104D #4D101A #394D10 #104D42
square
#24104D #4D101A #394D10 #104D42
split-complementary
#24104D #4D4210 #1A4D10
monochromatic
#0C0519 #0C051A #24104D #3C1B80 #5325B2

Accessibility & contrast

On white

16.72
#24104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#24104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24104D
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24104D#FFFFFF#000000##FFFFFF
##24104D1.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001C4C
Tritanopia (blue-blind)
#17202D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #24104d;
/* rgb */ color: rgb(36, 16, 77);
/* oklch */ color: oklch(24.6% 0.105 291.8);
Tailwind
colors: {
  custom: {
    50: '#64507f',
    500: '#24104d',
    950: '#000000',
  },
}
SCSS
$custom: #24104d;
$custom-light: #64507f;
$custom-dark: #000000;
JSON
{
  "hex": "#24104d",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 259.672,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24581,
    "c": 0.10468,
    "h": 291.8
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#24104D
secondary
#6B8732
accent
#E93FB1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #24104D

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

Preview Lab → · Contrast checker → · Palette generator →

#24104D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva