#24053A#24053A

#24053A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.096 H 306.3°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#24053A
RGBrgb(36, 5, 58)
HSLhsl(275, 84%, 12%)
HSVhsv(275, 91%, 23%)
CMYKcmyk(37.9%, 91.4%, 0%, 77.3%)
CIE-LABlab(7.13, 26.98, -27.01)
CIE-LCHlch(7.13, 38.18, 314.97°)
OKLaboklab(21.15% 0.0567 -0.0771)
OKLCHoklch(21.15% 0.096 306.3)
XYZxyz(1.5454, 0.7891, 4.0731)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24053A #1B3A05
analogous
#09053A #24053A #3A0536
triadic
#24053A #3A2405 #053A24
tetradic
#24053A #3A0905 #1B3A05 #05363A
square
#24053A #3A0905 #1B3A05 #05363A
split-complementary
#24053A #363A05 #053A09
monochromatic
#11021C #11021C #24053A #470A72 #6A0FAB

Accessibility & contrast

On white

18.14
#24053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24053A
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24053A#FFFFFF#000000##FFFFFF
##24053A1.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#20121F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #24053a;
/* rgb */ color: rgb(36, 5, 58);
/* oklch */ color: oklch(21.1% 0.096 306.3);
Tailwind
colors: {
  custom: {
    50: '#624971',
    500: '#24053a',
    950: '#000000',
  },
}
SCSS
$custom: #24053a;
$custom-light: #624971;
$custom-dark: #000000;
JSON
{
  "hex": "#24053a",
  "rgb": {
    "r": 36,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 275.094,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21148,
    "c": 0.0957,
    "h": 306.3
  },
  "luminance": 0.00789
}

Semantic roles & 50–950 ramp

primary
#24053A
secondary
#467B20
accent
#FA2D82
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050107
muted
#7A777A

Preview Lab

Preview with #24053A

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

Preview Lab → · Contrast checker → · Palette generator →

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