#150320#150320

#150320 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.064 H 310.8°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#150320
RGBrgb(21, 3, 32)
HSLhsl(277, 83%, 7%)
HSVhsv(277, 91%, 13%)
CMYKcmyk(34.4%, 90.6%, 0%, 87.5%)
CIE-LABlab(2.97, 11.88, -14.12)
CIE-LCHlch(2.97, 18.45, 310.06°)
OKLaboklab(15.68% 0.0417 -0.0484)
OKLCHoklch(15.68% 0.064 310.8)
XYZxyz(0.6025, 0.3289, 1.3980)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150320 #0E2003
analogous
#070320 #150320 #20031D
triadic
#150320 #201503 #032015
tetradic
#150320 #200703 #0E2003 #031D20
square
#150320 #200703 #0E2003 #031D20
split-complementary
#150320 #1D2003 #032007
monochromatic
#12031C #12031C #150320 #3A0858 #5E0D90

Accessibility & contrast

On white

19.70
#150320 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150320
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150320#FFFFFF#000000##FFFFFF
##1503201.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A21
Deuteranopia (green-blind)
#010B1F
Tritanopia (blue-blind)
#140810
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #150320;
/* rgb */ color: rgb(21, 3, 32);
/* oklch */ color: oklch(15.7% 0.064 310.8);
Tailwind
colors: {
  custom: {
    50: '#51485b',
    500: '#150320',
    950: '#000000',
  },
}
SCSS
$custom: #150320;
$custom-light: #51485b;
$custom-dark: #000000;
JSON
{
  "hex": "#150320",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 32
  },
  "hsl": {
    "h": 277.241,
    "s": 82.857,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15681,
    "c": 0.06388,
    "h": 310.8
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#150320
secondary
#37641B
accent
#F92F7B
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150320

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

Preview Lab → · Contrast checker → · Palette generator →

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