#24103E#24103E

#24103E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.084 H 299.8°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#24103E
RGBrgb(36, 16, 62)
HSLhsl(266, 59%, 15%)
HSVhsv(266, 74%, 24%)
CMYKcmyk(41.9%, 74.2%, 0%, 75.7%)
CIE-LABlab(9.75, 21.86, -25.64)
CIE-LCHlch(9.75, 33.69, 310.45°)
OKLaboklab(23.15% 0.0418 -0.0729)
OKLCHoklch(23.15% 0.084 299.8)
XYZxyz(1.7821, 1.0934, 4.6737)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24103E #2A3E10
analogous
#10133E #24103E #3B103E
triadic
#24103E #3E2410 #103E24
tetradic
#24103E #3E1013 #2A3E10 #103E3B
square
#24103E #3E1013 #2A3E10 #103E3B
split-complementary
#24103E #3E3B10 #133E10
monochromatic
#0E0618 #0E0618 #24103E #401D6F #5C299F

Accessibility & contrast

On white

17.23
#24103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#24103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24103E
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24103E#FFFFFF#000000##FFFFFF
##24103E1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#001B3D
Tritanopia (blue-blind)
#1E1A25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24103e;
/* rgb */ color: rgb(36, 16, 62);
/* oklch */ color: oklch(23.1% 0.084 299.8);
Tailwind
colors: {
  custom: {
    50: '#614f74',
    500: '#24103e',
    950: '#000000',
  },
}
SCSS
$custom: #24103e;
$custom-light: #614f74;
$custom-dark: #000000;
JSON
{
  "hex": "#24103e",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 266.087,
    "s": 58.974,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23145,
    "c": 0.08406,
    "h": 299.8
  },
  "luminance": 0.01093
}

Semantic roles & 50–950 ramp

primary
#24103E
secondary
#597832
accent
#E2469E
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24103E

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

Preview Lab → · Contrast checker → · Palette generator →

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