#24103A#24103A

#24103A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.8% C 0.078 H 302.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#24103A
RGBrgb(36, 16, 58)
HSLhsl(269, 57%, 15%)
HSVhsv(269, 72%, 23%)
CMYKcmyk(37.9%, 72.4%, 0%, 77.3%)
CIE-LABlab(9.41, 20.63, -23.32)
CIE-LCHlch(9.41, 31.13, 311.50°)
OKLaboklab(22.8% 0.0422 -0.0661)
OKLCHoklch(22.8% 0.078 302.5)
XYZxyz(1.6764, 1.0511, 4.1167)
Luminance0.0105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24103A #263A10
analogous
#10113A #24103A #39103A
triadic
#24103A #3A2410 #103A24
tetradic
#24103A #3A1011 #263A10 #103A39
square
#24103A #3A1011 #263A10 #103A39
split-complementary
#24103A #3A3910 #113A10
monochromatic
#0F0718 #0F0718 #24103A #421D6A #602A9A

Accessibility & contrast

On white

17.35
#24103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#24103A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24103A
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24103A#FFFFFF#000000##FFFFFF
##24103A1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3B
Deuteranopia (green-blind)
#041A39
Tritanopia (blue-blind)
#201923
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #24103a;
/* rgb */ color: rgb(36, 16, 58);
/* oklch */ color: oklch(22.8% 0.078 302.5);
Tailwind
colors: {
  custom: {
    50: '#614f70',
    500: '#24103a',
    950: '#000000',
  },
}
SCSS
$custom: #24103a;
$custom-light: #614f70;
$custom-dark: #000000;
JSON
{
  "hex": "#24103a",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 268.571,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22795,
    "c": 0.07842,
    "h": 302.5
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#24103A
secondary
#547432
accent
#E04898
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #24103A

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

Preview Lab → · Contrast checker → · Palette generator →

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