#150321#150321

#150321 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.065 H 309.5°. Best body text is #FFFFFF at 19.69:1 contrast (WCAG AA passes).

Color values

HEX#150321
RGBrgb(21, 3, 33)
HSLhsl(276, 83%, 7%)
HSVhsv(276, 91%, 13%)
CMYKcmyk(36.4%, 90.9%, 0%, 87.1%)
CIE-LABlab(3.02, 12.23, -14.84)
CIE-LCHlch(3.02, 19.22, 309.49°)
OKLaboklab(15.78% 0.0415 -0.0502)
OKLCHoklch(15.78% 0.065 309.5)
XYZxyz(0.6163, 0.3344, 1.4706)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150321 #0F2103
analogous
#060321 #150321 #21031E
triadic
#150321 #211503 #032115
tetradic
#150321 #210603 #0F2103 #031E21
square
#150321 #210603 #0F2103 #031E21
split-complementary
#150321 #1E2103 #032106
monochromatic
#12031C #12031C #150321 #390859 #5C0D91

Accessibility & contrast

On white

19.69
#150321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#150321 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150321
19.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150321#FFFFFF#000000##FFFFFF
##1503211.0019.691.0719.69
#FFFFFF19.691.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A22
Deuteranopia (green-blind)
#000B20
Tritanopia (blue-blind)
#130810
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #150321;
/* rgb */ color: rgb(21, 3, 33);
/* oklch */ color: oklch(15.8% 0.065 309.5);
Tailwind
colors: {
  custom: {
    50: '#51485c',
    500: '#150321',
    950: '#000000',
  },
}
SCSS
$custom: #150321;
$custom-light: #51485c;
$custom-dark: #000000;
JSON
{
  "hex": "#150321",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 276,
    "s": 83.333,
    "l": 7.059
  },
  "oklch": {
    "l": 0.1578,
    "c": 0.06515,
    "h": 309.5
  },
  "luminance": 0.00334
}

Semantic roles & 50–950 ramp

primary
#150321
secondary
#38651B
accent
#FA2E80
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150321

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

Preview Lab → · Contrast checker → · Palette generator →

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