#24063B#24063B

#24063B is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.095 H 305.3°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#24063B
RGBrgb(36, 6, 59)
HSLhsl(274, 82%, 13%)
HSVhsv(274, 90%, 23%)
CMYKcmyk(39%, 89.8%, 0%, 76.9%)
CIE-LABlab(7.42, 26.72, -27.27)
CIE-LCHlch(7.42, 38.18, 314.42°)
OKLaboklab(21.39% 0.0551 -0.0777)
OKLCHoklch(21.39% 0.095 305.3)
XYZxyz(1.5819, 0.8211, 4.2120)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24063B #1D3B06
analogous
#09063B #24063B #3B0637
triadic
#24063B #3B2406 #063B24
tetradic
#24063B #3B0906 #1D3B06 #06373B
square
#24063B #3B0906 #1D3B06 #06373B
split-complementary
#24063B #373B06 #063B09
monochromatic
#11031C #11031C #24063B #460C73 #6811AA

Accessibility & contrast

On white

18.04
#24063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24063B
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24063B#FFFFFF#000000##FFFFFF
##24063B1.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163C
Deuteranopia (green-blind)
#00163A
Tritanopia (blue-blind)
#201420
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #24063b;
/* rgb */ color: rgb(36, 6, 59);
/* oklch */ color: oklch(21.4% 0.095 305.3);
Tailwind
colors: {
  custom: {
    50: '#624971',
    500: '#24063b',
    950: '#000000',
  },
}
SCSS
$custom: #24063b;
$custom-light: #624971;
$custom-dark: #000000;
JSON
{
  "hex": "#24063b",
  "rgb": {
    "r": 36,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 273.962,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21393,
    "c": 0.09527,
    "h": 305.3
  },
  "luminance": 0.00821
}

Semantic roles & 50–950 ramp

primary
#24063B
secondary
#487B22
accent
#F83087
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #24063B

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

Preview Lab → · Contrast checker → · Palette generator →

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