#24103F#24103F

#24103F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.2% C 0.085 H 299.2°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#24103F
RGBrgb(36, 16, 63)
HSLhsl(266, 59%, 15%)
HSVhsv(266, 75%, 25%)
CMYKcmyk(42.9%, 74.6%, 0%, 75.3%)
CIE-LABlab(9.83, 22.17, -26.21)
CIE-LCHlch(9.83, 34.32, 310.22°)
OKLaboklab(23.24% 0.0416 -0.0746)
OKLCHoklch(23.24% 0.085 299.2)
XYZxyz(1.8098, 1.1045, 4.8195)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24103F #2B3F10
analogous
#10133F #24103F #3B103F
triadic
#24103F #3F2410 #103F24
tetradic
#24103F #3F1013 #2B3F10 #103F3B
square
#24103F #3F1013 #2B3F10 #103F3B
split-complementary
#24103F #3F3B10 #133F10
monochromatic
#0E0618 #0E0618 #24103F #401C70 #5C29A1

Accessibility & contrast

On white

17.20
#24103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24103F
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24103F#FFFFFF#000000##FFFFFF
##24103F1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#001B3E
Tritanopia (blue-blind)
#1E1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24103f;
/* rgb */ color: rgb(36, 16, 63);
/* oklch */ color: oklch(23.2% 0.085 299.2);
Tailwind
colors: {
  custom: {
    50: '#614f74',
    500: '#24103f',
    950: '#000000',
  },
}
SCSS
$custom: #24103f;
$custom-light: #614f74;
$custom-dark: #000000;
JSON
{
  "hex": "#24103f",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 265.532,
    "s": 59.494,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23235,
    "c": 0.08546,
    "h": 299.2
  },
  "luminance": 0.01105
}

Semantic roles & 50–950 ramp

primary
#24103F
secondary
#5B7932
accent
#E345A0
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24103F

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

Preview Lab → · Contrast checker → · Palette generator →

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