#15053A#15053A

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

Color values

HEX#15053A
RGBrgb(21, 5, 58)
HSLhsl(258, 84%, 12%)
HSVhsv(258, 91%, 23%)
CMYKcmyk(63.8%, 91.4%, 0%, 77.3%)
CIE-LABlab(5.18, 22.73, -30.26)
CIE-LCHlch(5.18, 37.85, 306.90°)
OKLaboklab(19.02% 0.0292 -0.0892)
OKLCHoklch(19.02% 0.094 288.2)
XYZxyz(1.1270, 0.5734, 4.0535)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15053A #2A3A05
analogous
#05103A #15053A #30053A
triadic
#15053A #3A1505 #053A15
tetradic
#15053A #3A0510 #2A3A05 #053A30
square
#15053A #3A0510 #2A3A05 #053A30
split-complementary
#15053A #3A3005 #103A05
monochromatic
#0A021C #0A021C #15053A #290A72 #3E0FAB

Accessibility & contrast

On white

18.84
#15053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#15053A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15053A
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15053A#FFFFFF#000000##FFFFFF
##15053A1.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#001039
Tritanopia (blue-blind)
#06141F
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #15053a;
/* rgb */ color: rgb(21, 5, 58);
/* oklch */ color: oklch(19.0% 0.094 288.2);
Tailwind
colors: {
  custom: {
    50: '#574871',
    500: '#15053a',
    950: '#000000',
  },
}
SCSS
$custom: #15053a;
$custom-light: #574871;
$custom-dark: #000000;
JSON
{
  "hex": "#15053a",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 258.113,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19019,
    "c": 0.09384,
    "h": 288.2
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#15053A
secondary
#5F7B20
accent
#FA2DBD
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#030007
muted
#78777A

Preview Lab

Preview with #15053A

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

Preview Lab → · Contrast checker → · Palette generator →

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