#24073A#24073A

#24073A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.093 H 305.7°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#24073A
RGBrgb(36, 7, 58)
HSLhsl(274, 78%, 13%)
HSVhsv(274, 88%, 23%)
CMYKcmyk(37.9%, 87.9%, 0%, 77.3%)
CIE-LABlab(7.52, 25.88, -26.38)
CIE-LCHlch(7.52, 36.95, 314.46°)
OKLaboklab(21.44% 0.054 -0.0751)
OKLCHoklch(21.44% 0.093 305.7)
XYZxyz(1.5671, 0.8325, 4.0803)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24073A #1D3A07
analogous
#0B073A #24073A #3A0736
triadic
#24073A #3A2407 #073A24
tetradic
#24073A #3A0B07 #1D3A07 #07363A
square
#24073A #3A0B07 #1D3A07 #07363A
split-complementary
#24073A #363A07 #073A0B
monochromatic
#11031B #11031B #24073A #460E71 #6814A7

Accessibility & contrast

On white

18.00
#24073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24073A
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24073A#FFFFFF#000000##FFFFFF
##24073A1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.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: #24073a;
/* rgb */ color: rgb(36, 7, 58);
/* oklch */ color: oklch(21.4% 0.093 305.7);
Tailwind
colors: {
  custom: {
    50: '#624a71',
    500: '#24073a',
    950: '#000000',
  },
}
SCSS
$custom: #24073a;
$custom-light: #624a71;
$custom-dark: #000000;
JSON
{
  "hex": "#24073a",
  "rgb": {
    "r": 36,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 274.118,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21439,
    "c": 0.09254,
    "h": 305.7
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#24073A
secondary
#487923
accent
#F53387
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #24073A

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

Preview Lab → · Contrast checker → · Palette generator →

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