#24106F#24106F

#24106F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.148 H 280.9°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#24106F
RGBrgb(36, 16, 111)
HSLhsl(253, 75%, 25%)
HSVhsv(253, 86%, 44%)
CMYKcmyk(67.6%, 85.6%, 0%, 56.5%)
CIE-LABlab(14.92, 37.43, -50.45)
CIE-LCHlch(14.92, 62.82, 306.57°)
OKLaboklab(28.35% 0.0281 -0.1456)
OKLCHoklch(28.35% 0.148 280.9)
XYZxyz(3.7812, 1.8931, 15.2020)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24106F #5B6F10
analogous
#102B6F #24106F #54106F
triadic
#24106F #6F2410 #106F24
tetradic
#24106F #6F102B #5B6F10 #106F54
square
#24106F #6F102B #5B6F10 #106F54
split-complementary
#24106F #6F5410 #2B6F10
monochromatic
#09041B #13083A #24106F #3518A4 #471FDA

Accessibility & contrast

On white

15.23
#24106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24106F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24106F#FFFFFF#000000##FFFFFF
##24106F1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24106f;
/* rgb */ color: rgb(36, 16, 111);
/* oklch */ color: oklch(28.3% 0.148 280.9);
Tailwind
colors: {
  custom: {
    50: '#6b5299',
    500: '#24106f',
    950: '#000000',
  },
}
SCSS
$custom: #24106f;
$custom-light: #6b5299;
$custom-dark: #000000;
JSON
{
  "hex": "#24106f",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 252.632,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28346,
    "c": 0.1483,
    "h": 280.9
  },
  "luminance": 0.01893
}

Semantic roles & 50–950 ramp

primary
#24106F
secondary
#8FA734
accent
#F136CA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #24106F

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

Preview Lab → · Contrast checker → · Palette generator →

#24106F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva