#24083A#24083A

#24083A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.091 H 305.4°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#24083A
RGBrgb(36, 8, 58)
HSLhsl(274, 76%, 13%)
HSVhsv(274, 86%, 23%)
CMYKcmyk(37.9%, 86.2%, 0%, 77.3%)
CIE-LABlab(7.72, 25.33, -26.06)
CIE-LCHlch(7.72, 36.34, 314.19°)
OKLaboklab(21.58% 0.0527 -0.0742)
OKLCHoklch(21.58% 0.091 305.4)
XYZxyz(1.5779, 0.8542, 4.0839)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24083A #1E3A08
analogous
#0B083A #24083A #3A0837
triadic
#24083A #3A2408 #083A24
tetradic
#24083A #3A0B08 #1E3A08 #08373A
square
#24083A #3A0B08 #1E3A08 #08373A
split-complementary
#24083A #373A08 #083A0B
monochromatic
#11041B #11041B #24083A #450F70 #6717A6

Accessibility & contrast

On white

17.94
#24083A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#24083A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24083A
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24083A#FFFFFF#000000##FFFFFF
##24083A1.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001739
Tritanopia (blue-blind)
#201420
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #24083a;
/* rgb */ color: rgb(36, 8, 58);
/* oklch */ color: oklch(21.6% 0.091 305.4);
Tailwind
colors: {
  custom: {
    50: '#624a71',
    500: '#24083a',
    950: '#000000',
  },
}
SCSS
$custom: #24083a;
$custom-light: #624a71;
$custom-dark: #000000;
JSON
{
  "hex": "#24083a",
  "rgb": {
    "r": 36,
    "g": 8,
    "b": 58
  },
  "hsl": {
    "h": 273.6,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.21581,
    "c": 0.091,
    "h": 305.4
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#24083A
secondary
#4A7925
accent
#F23589
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #24083A

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

Preview Lab → · Contrast checker → · Palette generator →

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