#24053D#24053D

#24053D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.099 H 304.2°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#24053D
RGBrgb(36, 5, 61)
HSLhsl(273, 85%, 13%)
HSVhsv(273, 92%, 24%)
CMYKcmyk(41%, 91.8%, 0%, 76.1%)
CIE-LABlab(7.41, 27.87, -28.72)
CIE-LCHlch(7.41, 40.01, 314.14°)
OKLaboklab(21.45% 0.0557 -0.082)
OKLCHoklch(21.45% 0.099 304.2)
XYZxyz(1.6239, 0.8205, 4.4868)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24053D #1E3D05
analogous
#08053D #24053D #3D053A
triadic
#24053D #3D2405 #053D24
tetradic
#24053D #3D0805 #1E3D05 #053A3D
square
#24053D #3D0805 #1E3D05 #053A3D
split-complementary
#24053D #3A3D05 #053D08
monochromatic
#11021C #11021C #24053D #450A76 #670EAE

Accessibility & contrast

On white

18.04
#24053D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#24053D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24053D
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24053D#FFFFFF#000000##FFFFFF
##24053D1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163F
Deuteranopia (green-blind)
#00163C
Tritanopia (blue-blind)
#1F1421
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #24053d;
/* rgb */ color: rgb(36, 5, 61);
/* oklch */ color: oklch(21.5% 0.099 304.2);
Tailwind
colors: {
  custom: {
    50: '#624973',
    500: '#24053d',
    950: '#000000',
  },
}
SCSS
$custom: #24053d;
$custom-light: #624973;
$custom-dark: #000000;
JSON
{
  "hex": "#24053d",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 61
  },
  "hsl": {
    "h": 273.214,
    "s": 84.848,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21452,
    "c": 0.0991,
    "h": 304.2
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#24053D
secondary
#4A7E20
accent
#FB2D89
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #24053D

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

Preview Lab → · Contrast checker → · Palette generator →

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