#150522#150522

#150522 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.4% C 0.061 H 306.9°. Best body text is #FFFFFF at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#150522
RGBrgb(21, 5, 34)
HSLhsl(273, 74%, 8%)
HSVhsv(273, 85%, 13%)
CMYKcmyk(38.2%, 85.3%, 0%, 86.7%)
CIE-LABlab(3.46, 11.79, -14.94)
CIE-LCHlch(3.46, 19.03, 308.27°)
OKLaboklab(16.39% 0.0366 -0.0487)
OKLCHoklch(16.39% 0.061 306.9)
XYZxyz(0.6522, 0.3835, 1.5527)
Luminance0.0038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150522 #122205
analogous
#060522 #150522 #220520
triadic
#150522 #221505 #052215
tetradic
#150522 #220605 #122205 #052022
square
#150522 #220605 #122205 #052022
split-complementary
#150522 #202205 #052206
monochromatic
#10041B #10041B #150522 #360D57 #57158D

Accessibility & contrast

On white

19.51
#150522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#150522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150522
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150522#FFFFFF#000000##FFFFFF
##1505221.0019.511.0819.51
#FFFFFF19.511.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C23
Deuteranopia (green-blind)
#010D21
Tritanopia (blue-blind)
#130A12
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #150522;
/* rgb */ color: rgb(21, 5, 34);
/* oklch */ color: oklch(16.4% 0.061 306.9);
Tailwind
colors: {
  custom: {
    50: '#52495d',
    500: '#150522',
    950: '#000000',
  },
}
SCSS
$custom: #150522;
$custom-light: #52495d;
$custom-dark: #000000;
JSON
{
  "hex": "#150522",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 273.103,
    "s": 74.359,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16387,
    "c": 0.06091,
    "h": 306.9
  },
  "luminance": 0.00383
}

Semantic roles & 50–950 ramp

primary
#150522
secondary
#3E631F
accent
#F1378A
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150522

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

Preview Lab → · Contrast checker → · Palette generator →

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