#24083C#24083C

#24083C is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.093 H 304.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#24083C
RGBrgb(36, 8, 60)
HSLhsl(272, 76%, 13%)
HSVhsv(272, 87%, 24%)
CMYKcmyk(40%, 86.7%, 0%, 76.5%)
CIE-LABlab(7.90, 25.90, -27.19)
CIE-LCHlch(7.90, 37.56, 313.60°)
OKLaboklab(21.78% 0.0522 -0.0775)
OKLCHoklch(21.78% 0.093 304)
XYZxyz(1.6298, 0.8750, 4.3571)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24083C #203C08
analogous
#0A083C #24083C #3C083A
triadic
#24083C #3C2408 #083C24
tetradic
#24083C #3C0A08 #203C08 #083A3C
square
#24083C #3C0A08 #203C08 #083A3C
split-complementary
#24083C #3A3C08 #083C0A
monochromatic
#10041B #10041B #24083C #440F72 #6516A8

Accessibility & contrast

On white

17.87
#24083C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#24083C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24083C
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24083C#FFFFFF#000000##FFFFFF
##24083C1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24083c;
/* rgb */ color: rgb(36, 8, 60);
/* oklch */ color: oklch(21.8% 0.093 304.0);
Tailwind
colors: {
  custom: {
    50: '#624a72',
    500: '#24083c',
    950: '#000000',
  },
}
SCSS
$custom: #24083c;
$custom-light: #624a72;
$custom-dark: #000000;
JSON
{
  "hex": "#24083c",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 60
  },
  "hsl": {
    "h": 272.308,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.21775,
    "c": 0.09344,
    "h": 304
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#24083C
secondary
#4D7B25
accent
#F3358D
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#050108
muted
#7A777B

Preview Lab

Preview with #24083C

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

Preview Lab → · Contrast checker → · Palette generator →

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