#150327#150327

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

Color values

HEX#150327
RGBrgb(21, 3, 39)
HSLhsl(270, 86%, 8%)
HSVhsv(270, 92%, 15%)
CMYKcmyk(46.2%, 92.3%, 0%, 84.7%)
CIE-LABlab(3.35, 14.55, -18.99)
CIE-LCHlch(3.35, 23.93, 307.46°)
OKLaboklab(16.4% 0.0397 -0.061)
OKLCHoklch(16.4% 0.073 303.1)
XYZxyz(0.7079, 0.3710, 1.9534)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150327 #152703
analogous
#030327 #150327 #270327
triadic
#150327 #271503 #032715
tetradic
#150327 #270303 #152703 #032727
square
#150327 #270303 #152703 #032727
split-complementary
#150327 #272703 #032703
monochromatic
#0F021C #0F021C #150327 #340760 #520C99

Accessibility & contrast

On white

19.55
#150327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150327
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150327#FFFFFF#000000##FFFFFF
##1503271.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C28
Deuteranopia (green-blind)
#000C26
Tritanopia (blue-blind)
#110B14
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #150327;
/* rgb */ color: rgb(21, 3, 39);
/* oklch */ color: oklch(16.4% 0.073 303.1);
Tailwind
colors: {
  custom: {
    50: '#524861',
    500: '#150327',
    950: '#000000',
  },
}
SCSS
$custom: #150327;
$custom-light: #524861;
$custom-dark: #000000;
JSON
{
  "hex": "#150327",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 39
  },
  "hsl": {
    "h": 270,
    "s": 85.714,
    "l": 8.235
  },
  "oklch": {
    "l": 0.16401,
    "c": 0.07284,
    "h": 303.1
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#150327
secondary
#436B1B
accent
#FC2C94
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020005
muted
#787779

Preview Lab

Preview with #150327

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

Preview Lab → · Contrast checker → · Palette generator →

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