#18073C#18073C

#18073C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.093 H 289.9°. Best body text is #FFFFFF at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#18073C
RGBrgb(24, 7, 60)
HSLhsl(259, 79%, 13%)
HSVhsv(259, 88%, 24%)
CMYKcmyk(60%, 88.3%, 0%, 76.5%)
CIE-LABlab(6.07, 23.44, -30.25)
CIE-LCHlch(6.07, 38.27, 307.78°)
OKLaboklab(19.97% 0.0319 -0.0878)
OKLCHoklch(19.97% 0.093 289.9)
XYZxyz(1.2680, 0.6723, 4.3370)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18073C #2B3C07
analogous
#07113C #18073C #32073C
triadic
#18073C #3C1807 #073C18
tetradic
#18073C #3C0711 #2B3C07 #073C32
square
#18073C #3C0711 #2B3C07 #073C32
split-complementary
#18073C #3C3207 #113C07
monochromatic
#0B031B #0B031B #18073C #2E0D73 #4414AA

Accessibility & contrast

On white

18.51
#18073C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18073C
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18073C#FFFFFF#000000##FFFFFF
##18073C1.0018.511.1318.51
#FFFFFF18.511.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#0B1621
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18073c;
/* rgb */ color: rgb(24, 7, 60);
/* oklch */ color: oklch(20.0% 0.093 289.9);
Tailwind
colors: {
  custom: {
    50: '#5a4972',
    500: '#18073c',
    950: '#000000',
  },
}
SCSS
$custom: #18073c;
$custom-light: #5a4972;
$custom-dark: #000000;
JSON
{
  "hex": "#18073c",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 60
  },
  "hsl": {
    "h": 259.245,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.19969,
    "c": 0.09344,
    "h": 289.9
  },
  "luminance": 0.00672
}

Semantic roles & 50–950 ramp

primary
#18073C
secondary
#5F7B23
accent
#F632B7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18073C

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

Preview Lab → · Contrast checker → · Palette generator →

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