#24105C#24105C

#24105C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.124 H 286.1°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#24105C
RGBrgb(36, 16, 92)
HSLhsl(256, 70%, 21%)
HSVhsv(256, 83%, 36%)
CMYKcmyk(60.9%, 82.6%, 0%, 63.9%)
CIE-LABlab(12.72, 31.42, -41.51)
CIE-LCHlch(12.72, 52.06, 307.13°)
OKLaboklab(26.17% 0.0346 -0.1195)
OKLCHoklch(26.17% 0.124 286.1)
XYZxyz(2.8440, 1.5182, 10.2663)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24105C #485C10
analogous
#10225C #24105C #4A105C
triadic
#24105C #5C2410 #105C24
tetradic
#24105C #5C1022 #485C10 #105C4A
square
#24105C #5C1022 #485C10 #105C4A
split-complementary
#24105C #5C4A10 #225C10
monochromatic
#0A051A #100728 #24105C #381990 #4D22C4

Accessibility & contrast

On white

16.11
#24105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#24105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24105C
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24105C#FFFFFF#000000##FFFFFF
##24105C1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#092635
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #24105c;
/* rgb */ color: rgb(36, 16, 92);
/* oklch */ color: oklch(26.2% 0.124 286.1);
Tailwind
colors: {
  custom: {
    50: '#67518b',
    500: '#24105c',
    950: '#000000',
  },
}
SCSS
$custom: #24105c;
$custom-light: #67518b;
$custom-dark: #000000;
JSON
{
  "hex": "#24105c",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 255.789,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26173,
    "c": 0.12442,
    "h": 286.1
  },
  "luminance": 0.01518
}

Semantic roles & 50–950 ramp

primary
#24105C
secondary
#7B9533
accent
#ED3BBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #24105C

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

Preview Lab → · Contrast checker → · Palette generator →

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