#24063C#24063C

#24063C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.096 H 304.6°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#24063C
RGBrgb(36, 6, 60)
HSLhsl(273, 82%, 13%)
HSVhsv(273, 90%, 24%)
CMYKcmyk(40%, 90%, 0%, 76.5%)
CIE-LABlab(7.51, 27.02, -27.83)
CIE-LCHlch(7.51, 38.79, 314.15°)
OKLaboklab(21.49% 0.0547 -0.0794)
OKLCHoklch(21.49% 0.096 304.6)
XYZxyz(1.6081, 0.8316, 4.3499)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24063C #1E3C06
analogous
#09063C #24063C #3C0639
triadic
#24063C #3C2406 #063C24
tetradic
#24063C #3C0906 #1E3C06 #06393C
square
#24063C #3C0906 #1E3C06 #06393C
split-complementary
#24063C #393C06 #063C09
monochromatic
#11031C #11031C #24063C #450C74 #6711AB

Accessibility & contrast

On white

18.00
#24063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#24063C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24063C
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24063C#FFFFFF#000000##FFFFFF
##24063C1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163D
Deuteranopia (green-blind)
#00173B
Tritanopia (blue-blind)
#1F1421
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #24063c;
/* rgb */ color: rgb(36, 6, 60);
/* oklch */ color: oklch(21.5% 0.096 304.6);
Tailwind
colors: {
  custom: {
    50: '#624972',
    500: '#24063c',
    950: '#000000',
  },
}
SCSS
$custom: #24063c;
$custom-light: #624972;
$custom-dark: #000000;
JSON
{
  "hex": "#24063c",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 273.333,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21493,
    "c": 0.09643,
    "h": 304.6
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#24063C
secondary
#4A7C22
accent
#F83089
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #24063C

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

Preview Lab → · Contrast checker → · Palette generator →

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