#150222#150222

#150222 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.6% C 0.069 H 309.1°. Best body text is #FFFFFF at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#150222
RGBrgb(21, 2, 34)
HSLhsl(276, 89%, 7%)
HSVhsv(276, 94%, 13%)
CMYKcmyk(38.2%, 94.1%, 0%, 86.7%)
CIE-LABlab(2.88, 12.98, -15.84)
CIE-LCHlch(2.88, 20.48, 309.34°)
OKLaboklab(15.61% 0.0438 -0.0539)
OKLCHoklch(15.61% 0.069 309.1)
XYZxyz(0.6196, 0.3184, 1.5419)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150222 #0F2202
analogous
#050222 #150222 #22021F
triadic
#150222 #221502 #022215
tetradic
#150222 #220502 #0F2202 #021F22
square
#150222 #220502 #0F2202 #021F22
split-complementary
#150222 #1F2202 #022205
monochromatic
#12021D #12021D #150222 #39055C #5C0996

Accessibility & contrast

On white

19.74
#150222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#150222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150222
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150222#FFFFFF#000000##FFFFFF
##1502221.0019.741.0619.74
#FFFFFF19.741.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A23
Deuteranopia (green-blind)
#000B21
Tritanopia (blue-blind)
#130810
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #150222;
/* rgb */ color: rgb(21, 2, 34);
/* oklch */ color: oklch(15.6% 0.069 309.1);
Tailwind
colors: {
  custom: {
    50: '#52475d',
    500: '#150222',
    950: '#000000',
  },
}
SCSS
$custom: #150222;
$custom-light: #52475d;
$custom-dark: #000000;
JSON
{
  "hex": "#150222",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 275.625,
    "s": 88.889,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15613,
    "c": 0.06942,
    "h": 309.1
  },
  "luminance": 0.00318
}

Semantic roles & 50–950 ramp

primary
#150222
secondary
#386818
accent
#FF2980
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150222

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

Preview Lab → · Contrast checker → · Palette generator →

#150222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva