#18073B#18073B

#18073B is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.092 H 290.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#18073B
RGBrgb(24, 7, 59)
HSLhsl(260, 79%, 13%)
HSVhsv(260, 88%, 23%)
CMYKcmyk(59.3%, 88.1%, 0%, 76.9%)
CIE-LABlab(5.98, 23.03, -29.68)
CIE-LCHlch(5.98, 37.56, 307.81°)
OKLaboklab(19.86% 0.0322 -0.0863)
OKLCHoklch(19.86% 0.092 290.5)
XYZxyz(1.2419, 0.6619, 4.1991)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18073B #2A3B07
analogous
#07103B #18073B #32073B
triadic
#18073B #3B1807 #073B18
tetradic
#18073B #3B0710 #2A3B07 #073B32
square
#18073B #3B0710 #2A3B07 #073B32
split-complementary
#18073B #3B3207 #103B07
monochromatic
#0B031B #0B031B #18073B #2E0D72 #4514A8

Accessibility & contrast

On white

18.54
#18073B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18073B
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18073B#FFFFFF#000000##FFFFFF
##18073B1.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#0B1520
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #18073b;
/* rgb */ color: rgb(24, 7, 59);
/* oklch */ color: oklch(19.9% 0.092 290.5);
Tailwind
colors: {
  custom: {
    50: '#5a4971',
    500: '#18073b',
    950: '#000000',
  },
}
SCSS
$custom: #18073b;
$custom-light: #5a4971;
$custom-dark: #000000;
JSON
{
  "hex": "#18073b",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 59
  },
  "hsl": {
    "h": 259.615,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.19855,
    "c": 0.09209,
    "h": 290.5
  },
  "luminance": 0.00662
}

Semantic roles & 50–950 ramp

primary
#18073B
secondary
#5E7A23
accent
#F533B6
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040108
muted
#79777B

Preview Lab

Preview with #18073B

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

Preview Lab → · Contrast checker → · Palette generator →

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