#15022B#15022B

#15022B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.080 H 300.1°. Best body text is #FFFFFF at 19.53:1 contrast (WCAG AA passes).

Color values

HEX#15022B
RGBrgb(21, 2, 43)
HSLhsl(268, 91%, 9%)
HSVhsv(268, 95%, 17%)
CMYKcmyk(51.2%, 95.3%, 0%, 83.1%)
CIE-LABlab(3.41, 16.73, -21.96)
CIE-LCHlch(3.41, 27.61, 307.29°)
OKLaboklab(16.61% 0.0402 -0.0695)
OKLCHoklch(16.61% 0.08 300.1)
XYZxyz(0.7669, 0.3773, 2.3174)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15022B #182B02
analogous
#02042B #15022B #2A022B
triadic
#15022B #2B1502 #022B15
tetradic
#15022B #2B0204 #182B02 #022B2A
square
#15022B #2B0204 #182B02 #022B2A
split-complementary
#15022B #2B2A02 #042B02
monochromatic
#0E011D #0E011D #15022B #320565 #4E07A0

Accessibility & contrast

On white

19.53
#15022B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#15022B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #15022B
19.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15022B#FFFFFF#000000##FFFFFF
##15022B1.0019.531.0819.53
#FFFFFF19.531.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000C2A
Tritanopia (blue-blind)
#100C16
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #15022b;
/* rgb */ color: rgb(21, 2, 43);
/* oklch */ color: oklch(16.6% 0.080 300.1);
Tailwind
colors: {
  custom: {
    50: '#534764',
    500: '#15022b',
    950: '#000000',
  },
}
SCSS
$custom: #15022b;
$custom-light: #534764;
$custom-dark: #000000;
JSON
{
  "hex": "#15022b",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 43
  },
  "hsl": {
    "h": 267.805,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.16608,
    "c": 0.08032,
    "h": 300.1
  },
  "luminance": 0.00377
}

Semantic roles & 50–950 ramp

primary
#15022B
secondary
#487019
accent
#FF299C
background
#F4F4F6
surface
#E7E6EB
border
#C3C2C6
text
#020005
muted
#78777A

Preview Lab

Preview with #15022B

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

Preview Lab → · Contrast checker → · Palette generator →

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