#15022A#15022A

#15022A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.079 H 300.9°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#15022A
RGBrgb(21, 2, 42)
HSLhsl(269, 91%, 9%)
HSVhsv(269, 95%, 16%)
CMYKcmyk(50%, 95.2%, 0%, 83.5%)
CIE-LABlab(3.34, 16.27, -21.31)
CIE-LCHlch(3.34, 26.81, 307.36°)
OKLaboklab(16.49% 0.0407 -0.0678)
OKLCHoklch(16.49% 0.079 300.9)
XYZxyz(0.7488, 0.3700, 2.2220)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15022A #172A02
analogous
#02032A #15022A #29022A
triadic
#15022A #2A1502 #022A15
tetradic
#15022A #2A0203 #172A02 #022A29
square
#15022A #2A0203 #172A02 #022A29
split-complementary
#15022A #2A2902 #032A02
monochromatic
#0F011D #0F011D #15022A #320564 #4F089F

Accessibility & contrast

On white

19.55
#15022A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#15022A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15022A
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15022A#FFFFFF#000000##FFFFFF
##15022A1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#100B15
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #15022a;
/* rgb */ color: rgb(21, 2, 42);
/* oklch */ color: oklch(16.5% 0.079 300.9);
Tailwind
colors: {
  custom: {
    50: '#534764',
    500: '#15022a',
    950: '#000000',
  },
}
SCSS
$custom: #15022a;
$custom-light: #534764;
$custom-dark: #000000;
JSON
{
  "hex": "#15022a",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 42
  },
  "hsl": {
    "h": 268.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.16492,
    "c": 0.0791,
    "h": 300.9
  },
  "luminance": 0.0037
}

Semantic roles & 50–950 ramp

primary
#15022A
secondary
#466F19
accent
#FF2999
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #15022A

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

Preview Lab → · Contrast checker → · Palette generator →

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