#24103D#24103D

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

Color values

HEX#24103D
RGBrgb(36, 16, 61)
HSLhsl(267, 58%, 15%)
HSVhsv(267, 74%, 24%)
CMYKcmyk(41%, 73.8%, 0%, 76.1%)
CIE-LABlab(9.66, 21.54, -25.06)
CIE-LCHlch(9.66, 33.05, 310.68°)
OKLaboklab(23.06% 0.0419 -0.0713)
OKLCHoklch(23.06% 0.083 300.4)
XYZxyz(1.7549, 1.0826, 4.5305)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24103D #293D10
analogous
#10123D #24103D #3B103D
triadic
#24103D #3D2410 #103D24
tetradic
#24103D #3D1012 #293D10 #103D3B
square
#24103D #3D1012 #293D10 #103D3B
split-complementary
#24103D #3D3B10 #123D10
monochromatic
#0E0618 #0E0618 #24103D #411D6D #5D299E

Accessibility & contrast

On white

17.26
#24103D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24103D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24103D#FFFFFF#000000##FFFFFF
##24103D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#011A3C
Tritanopia (blue-blind)
#1F1A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24103d;
/* rgb */ color: rgb(36, 16, 61);
/* oklch */ color: oklch(23.1% 0.083 300.4);
Tailwind
colors: {
  custom: {
    50: '#614f73',
    500: '#24103d',
    950: '#000000',
  },
}
SCSS
$custom: #24103d;
$custom-light: #614f73;
$custom-dark: #000000;
JSON
{
  "hex": "#24103d",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 61
  },
  "hsl": {
    "h": 266.667,
    "s": 58.442,
    "l": 15.098
  },
  "oklch": {
    "l": 0.23056,
    "c": 0.08266,
    "h": 300.4
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#24103D
secondary
#587732
accent
#E2469D
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24103D

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

Preview Lab → · Contrast checker → · Palette generator →

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