#24103C#24103C

#24103C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.0% C 0.081 H 301.1°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#24103C
RGBrgb(36, 16, 60)
HSLhsl(267, 58%, 15%)
HSVhsv(267, 73%, 24%)
CMYKcmyk(40%, 73.3%, 0%, 76.5%)
CIE-LABlab(9.58, 21.24, -24.48)
CIE-LCHlch(9.58, 32.41, 310.94°)
OKLaboklab(22.97% 0.042 -0.0696)
OKLCHoklch(22.97% 0.081 301.1)
XYZxyz(1.7283, 1.0719, 4.3899)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24103C #283C10
analogous
#10123C #24103C #3A103C
triadic
#24103C #3C2410 #103C24
tetradic
#24103C #3C1012 #283C10 #103C3A
square
#24103C #3C1012 #283C10 #103C3A
split-complementary
#24103C #3C3A10 #123C10
monochromatic
#0E0618 #0E0618 #24103C #411D6C #5E2A9D

Accessibility & contrast

On white

17.29
#24103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24103C
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24103C#FFFFFF#000000##FFFFFF
##24103C1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#021A3B
Tritanopia (blue-blind)
#1F1A24
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #24103c;
/* rgb */ color: rgb(36, 16, 60);
/* oklch */ color: oklch(23.0% 0.081 301.1);
Tailwind
colors: {
  custom: {
    50: '#614f72',
    500: '#24103c',
    950: '#000000',
  },
}
SCSS
$custom: #24103c;
$custom-light: #614f72;
$custom-dark: #000000;
JSON
{
  "hex": "#24103c",
  "rgb": {
    "r": 36,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 267.273,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.22968,
    "c": 0.08125,
    "h": 301.1
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#24103C
secondary
#577632
accent
#E1479B
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050208
muted
#79787B

Preview Lab

Preview with #24103C

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

Preview Lab → · Contrast checker → · Palette generator →

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