#24063D#24063D

#24063D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.098 H 303.9°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#24063D
RGBrgb(36, 6, 61)
HSLhsl(273, 82%, 13%)
HSVhsv(273, 90%, 24%)
CMYKcmyk(41%, 90.2%, 0%, 76.1%)
CIE-LABlab(7.61, 27.31, -28.40)
CIE-LCHlch(7.61, 39.40, 313.88°)
OKLaboklab(21.59% 0.0544 -0.081)
OKLCHoklch(21.59% 0.098 303.9)
XYZxyz(1.6348, 0.8422, 4.4904)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24063D #1F3D06
analogous
#08063D #24063D #3D063A
triadic
#24063D #3D2406 #063D24
tetradic
#24063D #3D0806 #1F3D06 #063A3D
square
#24063D #3D0806 #1F3D06 #063A3D
split-complementary
#24063D #3A3D06 #063D08
monochromatic
#10031C #10031C #24063D #450B75 #6611AC

Accessibility & contrast

On white

17.97
#24063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24063D
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24063D#FFFFFF#000000##FFFFFF
##24063D1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24063d;
/* rgb */ color: rgb(36, 6, 61);
/* oklch */ color: oklch(21.6% 0.098 303.9);
Tailwind
colors: {
  custom: {
    50: '#624973',
    500: '#24063d',
    950: '#000000',
  },
}
SCSS
$custom: #24063d;
$custom-light: #624973;
$custom-dark: #000000;
JSON
{
  "hex": "#24063d",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 272.727,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21594,
    "c": 0.0976,
    "h": 303.9
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#24063D
secondary
#4B7D22
accent
#F82F8B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #24063D

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

Preview Lab → · Contrast checker → · Palette generator →

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