#24063F#24063F

#24063F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.100 H 302.5°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#24063F
RGBrgb(36, 6, 63)
HSLhsl(272, 83%, 14%)
HSVhsv(272, 90%, 25%)
CMYKcmyk(42.9%, 90.5%, 0%, 75.3%)
CIE-LABlab(7.81, 27.88, -29.51)
CIE-LCHlch(7.81, 40.60, 313.38°)
OKLaboklab(21.8% 0.0537 -0.0843)
OKLCHoklch(21.8% 0.1 302.5)
XYZxyz(1.6897, 0.8642, 4.7795)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24063F #213F06
analogous
#07063F #24063F #3F063D
triadic
#24063F #3F2406 #063F24
tetradic
#24063F #3F0706 #213F06 #063D3F
square
#24063F #3F0706 #213F06 #063D3F
split-complementary
#24063F #3D3F06 #063F07
monochromatic
#10031C #10031C #24063F #440B77 #6411AF

Accessibility & contrast

On white

17.91
#24063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24063F
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24063F#FFFFFF#000000##FFFFFF
##24063F1.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#1E1523
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #24063f;
/* rgb */ color: rgb(36, 6, 63);
/* oklch */ color: oklch(21.8% 0.100 302.5);
Tailwind
colors: {
  custom: {
    50: '#624a75',
    500: '#24063f',
    950: '#000000',
  },
}
SCSS
$custom: #24063f;
$custom-light: #624a75;
$custom-dark: #000000;
JSON
{
  "hex": "#24063f",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 271.579,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21798,
    "c": 0.09992,
    "h": 302.5
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#24063F
secondary
#4E7F22
accent
#F92F8F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #24063F

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

Preview Lab → · Contrast checker → · Palette generator →

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