#18073A#18073A

#18073A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.7% C 0.091 H 291.0°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#18073A
RGBrgb(24, 7, 58)
HSLhsl(260, 78%, 13%)
HSVhsv(260, 88%, 23%)
CMYKcmyk(58.6%, 87.9%, 0%, 77.3%)
CIE-LABlab(5.89, 22.61, -29.10)
CIE-LCHlch(5.89, 36.86, 307.85°)
OKLaboklab(19.74% 0.0326 -0.0847)
OKLCHoklch(19.74% 0.091 291)
XYZxyz(1.2162, 0.6516, 4.0639)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18073A #293A07
analogous
#070F3A #18073A #31073A
triadic
#18073A #3A1807 #073A18
tetradic
#18073A #3A070F #293A07 #073A31
square
#18073A #3A070F #293A07 #073A31
split-complementary
#18073A #3A3107 #0F3A07
monochromatic
#0B031B #0B031B #18073A #2F0E71 #4514A7

Accessibility & contrast

On white

18.58
#18073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#18073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18073A
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18073A#FFFFFF#000000##FFFFFF
##18073A1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001239
Tritanopia (blue-blind)
#0C1520
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18073a;
/* rgb */ color: rgb(24, 7, 58);
/* oklch */ color: oklch(19.7% 0.091 291.0);
Tailwind
colors: {
  custom: {
    50: '#594971',
    500: '#18073a',
    950: '#000000',
  },
}
SCSS
$custom: #18073a;
$custom-light: #594971;
$custom-dark: #000000;
JSON
{
  "hex": "#18073a",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 260,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19741,
    "c": 0.09073,
    "h": 291
  },
  "luminance": 0.00652
}

Semantic roles & 50–950 ramp

primary
#18073A
secondary
#5D7923
accent
#F533B4
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #18073A

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

Preview Lab → · Contrast checker → · Palette generator →

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