#24103B#24103B

#24103B is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 22.9% C 0.080 H 301.8°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#24103B
RGBrgb(36, 16, 59)
HSLhsl(268, 57%, 15%)
HSVhsv(268, 73%, 23%)
CMYKcmyk(39%, 72.9%, 0%, 76.9%)
CIE-LABlab(9.49, 20.93, -23.90)
CIE-LCHlch(9.49, 31.77, 311.21°)
OKLaboklab(22.88% 0.0421 -0.0678)
OKLCHoklch(22.88% 0.08 301.8)
XYZxyz(1.7021, 1.0614, 4.2520)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24103B #273B10
analogous
#10123B #24103B #3A103B
triadic
#24103B #3B2410 #103B24
tetradic
#24103B #3B1012 #273B10 #103B3A
square
#24103B #3B1012 #273B10 #103B3A
split-complementary
#24103B #3B3A10 #123B10
monochromatic
#0F0718 #0F0718 #24103B #411D6B #5F2A9B

Accessibility & contrast

On white

17.32
#24103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24103B
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24103B#FFFFFF#000000##FFFFFF
##24103B1.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3C
Deuteranopia (green-blind)
#031A3A
Tritanopia (blue-blind)
#1F1923
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #24103b;
/* rgb */ color: rgb(36, 16, 59);
/* oklch */ color: oklch(22.9% 0.080 301.8);
Tailwind
colors: {
  custom: {
    50: '#614f71',
    500: '#24103b',
    950: '#000000',
  },
}
SCSS
$custom: #24103b;
$custom-light: #614f71;
$custom-dark: #000000;
JSON
{
  "hex": "#24103b",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 267.907,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.22881,
    "c": 0.07983,
    "h": 301.8
  },
  "luminance": 0.01061
}

Semantic roles & 50–950 ramp

primary
#24103B
secondary
#567532
accent
#E14799
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #24103B

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

Preview Lab → · Contrast checker → · Palette generator →

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