#24143D#24143D

#24143D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.076 H 298.5°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#24143D
RGBrgb(36, 20, 61)
HSLhsl(263, 51%, 16%)
HSVhsv(263, 67%, 24%)
CMYKcmyk(41%, 67.2%, 0%, 76.1%)
CIE-LABlab(10.65, 18.90, -23.47)
CIE-LCHlch(10.65, 30.13, 308.85°)
OKLaboklab(23.77% 0.0361 -0.0666)
OKLCHoklch(23.77% 0.076 298.5)
XYZxyz(1.8198, 1.2123, 4.5521)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24143D #2D3D14
analogous
#14183D #24143D #38143D
triadic
#24143D #3D2414 #143D24
tetradic
#24143D #3D1418 #2D3D14 #143D38
square
#24143D #3D1418 #2D3D14 #143D38
split-complementary
#24143D #3D3814 #183D14
monochromatic
#0E0817 #0E0817 #24143D #3F236B #5A3299

Accessibility & contrast

On white

16.90
#24143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#24143D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24143D
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24143D#FFFFFF#000000##FFFFFF
##24143D1.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3E
Deuteranopia (green-blind)
#061C3C
Tritanopia (blue-blind)
#1E1D26
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #24143d;
/* rgb */ color: rgb(36, 20, 61);
/* oklch */ color: oklch(23.8% 0.076 298.5);
Tailwind
colors: {
  custom: {
    50: '#615273',
    500: '#24143d',
    950: '#000000',
  },
}
SCSS
$custom: #24143d;
$custom-light: #615273;
$custom-dark: #000000;
JSON
{
  "hex": "#24143d",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 263.415,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23774,
    "c": 0.07575,
    "h": 298.5
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#24143D
secondary
#5D7538
accent
#DA4EA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #24143D

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

Preview Lab → · Contrast checker → · Palette generator →

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