#24106E#24106E

#24106E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.147 H 281.2°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#24106E
RGBrgb(36, 16, 110)
HSLhsl(253, 75%, 25%)
HSVhsv(253, 85%, 43%)
CMYKcmyk(67.3%, 85.5%, 0%, 56.9%)
CIE-LABlab(14.80, 37.12, -50.00)
CIE-LCHlch(14.80, 62.27, 306.59°)
OKLaboklab(28.23% 0.0285 -0.1443)
OKLCHoklch(28.23% 0.147 281.2)
XYZxyz(3.7264, 1.8712, 14.9136)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24106E #5A6E10
analogous
#102B6E #24106E #53106E
triadic
#24106E #6E2410 #106E24
tetradic
#24106E #6E102B #5A6E10 #106E53
square
#24106E #6E102B #5A6E10 #106E53
split-complementary
#24106E #6E5310 #2B6E10
monochromatic
#09041B #130839 #24106E #3518A3 #4720D9

Accessibility & contrast

On white

15.28
#24106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#24106E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24106E
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24106E#FFFFFF#000000##FFFFFF
##24106E1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #24106e;
/* rgb */ color: rgb(36, 16, 110);
/* oklch */ color: oklch(28.2% 0.147 281.2);
Tailwind
colors: {
  custom: {
    50: '#6b5299',
    500: '#24106e',
    950: '#000000',
  },
}
SCSS
$custom: #24106e;
$custom-light: #6b5299;
$custom-dark: #000000;
JSON
{
  "hex": "#24106e",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 252.766,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28229,
    "c": 0.14706,
    "h": 281.2
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#24106E
secondary
#8EA634
accent
#F137CA
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #24106E

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

Preview Lab → · Contrast checker → · Palette generator →

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