#24063A#24063A

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

Color values

HEX#24063A
RGBrgb(36, 6, 58)
HSLhsl(275, 81%, 13%)
HSVhsv(275, 90%, 23%)
CMYKcmyk(37.9%, 89.7%, 0%, 77.3%)
CIE-LABlab(7.32, 26.43, -26.69)
CIE-LCHlch(7.32, 37.56, 314.71°)
OKLaboklab(21.29% 0.0554 -0.0761)
OKLCHoklch(21.29% 0.094 306)
XYZxyz(1.5562, 0.8108, 4.0767)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24063A #1C3A06
analogous
#0A063A #24063A #3A0636
triadic
#24063A #3A2406 #063A24
tetradic
#24063A #3A0A06 #1C3A06 #06363A
square
#24063A #3A0A06 #1C3A06 #06363A
split-complementary
#24063A #363A06 #063A0A
monochromatic
#11031C #11031C #24063A #460C71 #6911A9

Accessibility & contrast

On white

18.07
#24063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24063A
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24063A#FFFFFF#000000##FFFFFF
##24063A1.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)
#00153B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#201320
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #24063a;
/* rgb */ color: rgb(36, 6, 58);
/* oklch */ color: oklch(21.3% 0.094 306.0);
Tailwind
colors: {
  custom: {
    50: '#624971',
    500: '#24063a',
    950: '#000000',
  },
}
SCSS
$custom: #24063a;
$custom-light: #624971;
$custom-dark: #000000;
JSON
{
  "hex": "#24063a",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 274.615,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21294,
    "c": 0.0941,
    "h": 306
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#24063A
secondary
#477A22
accent
#F83085
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #24063A

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

Preview Lab → · Contrast checker → · Palette generator →

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