#18073D#18073D

#18073D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.095 H 289.4°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#18073D
RGBrgb(24, 7, 61)
HSLhsl(259, 79%, 13%)
HSVhsv(259, 89%, 24%)
CMYKcmyk(60.7%, 88.5%, 0%, 76.1%)
CIE-LABlab(6.17, 23.85, -30.81)
CIE-LCHlch(6.17, 38.96, 307.75°)
OKLaboklab(20.08% 0.0315 -0.0894)
OKLCHoklch(20.08% 0.095 289.4)
XYZxyz(1.2947, 0.6830, 4.4776)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18073D #2C3D07
analogous
#07113D #18073D #33073D
triadic
#18073D #3D1807 #073D18
tetradic
#18073D #3D0711 #2C3D07 #073D33
square
#18073D #3D0711 #2C3D07 #073D33
split-complementary
#18073D #3D3307 #113D07
monochromatic
#0B031B #0B031B #18073D #2E0D74 #4314AB

Accessibility & contrast

On white

18.48
#18073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#18073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18073D
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18073D#FFFFFF#000000##FFFFFF
##18073D1.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00123C
Tritanopia (blue-blind)
#0A1622
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #18073d;
/* rgb */ color: rgb(24, 7, 61);
/* oklch */ color: oklch(20.1% 0.095 289.4);
Tailwind
colors: {
  custom: {
    50: '#5a4973',
    500: '#18073d',
    950: '#000000',
  },
}
SCSS
$custom: #18073d;
$custom-light: #5a4973;
$custom-dark: #000000;
JSON
{
  "hex": "#18073d",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 258.889,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20084,
    "c": 0.09478,
    "h": 289.4
  },
  "luminance": 0.00683
}

Semantic roles & 50–950 ramp

primary
#18073D
secondary
#607C23
accent
#F632B8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #18073D

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

Preview Lab → · Contrast checker → · Palette generator →

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