#18053A#18053A

#18053A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.094 H 291.9°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#18053A
RGBrgb(24, 5, 58)
HSLhsl(262, 84%, 12%)
HSVhsv(262, 91%, 23%)
CMYKcmyk(58.6%, 91.4%, 0%, 77.3%)
CIE-LABlab(5.49, 23.60, -29.74)
CIE-LCHlch(5.49, 37.97, 308.44°)
OKLaboklab(19.4% 0.0349 -0.087)
OKLCHoklch(19.4% 0.094 291.9)
XYZxyz(1.1945, 0.6082, 4.0566)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18053A #273A05
analogous
#050D3A #18053A #32053A
triadic
#18053A #3A1805 #053A18
tetradic
#18053A #3A050D #273A05 #053A32
square
#18053A #3A050D #273A05 #053A32
split-complementary
#18053A #3A3205 #0D3A05
monochromatic
#0C021C #0C021C #18053A #2F0A72 #470FAB

Accessibility & contrast

On white

18.72
#18053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#18053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18053A
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18053A#FFFFFF#000000##FFFFFF
##18053A1.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133B
Deuteranopia (green-blind)
#001139
Tritanopia (blue-blind)
#0C141F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #18053a;
/* rgb */ color: rgb(24, 5, 58);
/* oklch */ color: oklch(19.4% 0.094 291.9);
Tailwind
colors: {
  custom: {
    50: '#594871',
    500: '#18053a',
    950: '#000000',
  },
}
SCSS
$custom: #18053a;
$custom-light: #594871;
$custom-dark: #000000;
JSON
{
  "hex": "#18053a",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 261.509,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19398,
    "c": 0.09378,
    "h": 291.9
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#18053A
secondary
#5A7B20
accent
#FA2DB1
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #18053A

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

Preview Lab → · Contrast checker → · Palette generator →

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