#24053C#24053C

#24053C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.098 H 304.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#24053C
RGBrgb(36, 5, 60)
HSLhsl(274, 85%, 13%)
HSVhsv(274, 92%, 24%)
CMYKcmyk(40%, 91.7%, 0%, 76.5%)
CIE-LABlab(7.32, 27.57, -28.15)
CIE-LCHlch(7.32, 39.40, 314.40°)
OKLaboklab(21.35% 0.056 -0.0804)
OKLCHoklch(21.35% 0.098 304.9)
XYZxyz(1.5972, 0.8099, 4.3463)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24053C #1D3C05
analogous
#08053C #24053C #3C0538
triadic
#24053C #3C2405 #053C24
tetradic
#24053C #3C0805 #1D3C05 #05383C
square
#24053C #3C0805 #1D3C05 #05383C
split-complementary
#24053C #383C05 #053C08
monochromatic
#11021C #11021C #24053C #460A74 #680EAD

Accessibility & contrast

On white

18.07
#24053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24053C
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24053C#FFFFFF#000000##FFFFFF
##24053C1.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00163B
Tritanopia (blue-blind)
#1F1321
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #24053c;
/* rgb */ color: rgb(36, 5, 60);
/* oklch */ color: oklch(21.3% 0.098 304.9);
Tailwind
colors: {
  custom: {
    50: '#624972',
    500: '#24053c',
    950: '#000000',
  },
}
SCSS
$custom: #24053c;
$custom-light: #624972;
$custom-dark: #000000;
JSON
{
  "hex": "#24053c",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 273.818,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21349,
    "c": 0.09797,
    "h": 304.9
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#24053C
secondary
#487D20
accent
#FB2D87
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #24053C

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

Preview Lab → · Contrast checker → · Palette generator →

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