#150027#150027

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

Color values

HEX#150027
RGBrgb(21, 0, 39)
HSLhsl(272, 100%, 8%)
HSVhsv(272, 100%, 15%)
CMYKcmyk(46.2%, 100%, 0%, 84.7%)
CIE-LABlab(2.76, 15.76, -19.91)
CIE-LCHlch(2.76, 25.39, 308.36°)
OKLaboklab(15.63% 0.0467 -0.0663)
OKLCHoklch(15.63% 0.081 305.2)
XYZxyz(0.6754, 0.3059, 1.9425)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150027 #122700
analogous
#020027 #150027 #270025
triadic
#150027 #271500 #002715
tetradic
#150027 #270200 #122700 #002527
square
#150027 #270200 #122700 #002527
split-complementary
#150027 #252700 #002702
monochromatic
#10001F #10001F #150027 #360064 #5700A1

Accessibility & contrast

On white

19.79
#150027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150027
19.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150027#FFFFFF#000000##FFFFFF
##1500271.0019.791.0619.79
#FFFFFF19.791.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000928
Deuteranopia (green-blind)
#000A26
Tritanopia (blue-blind)
#110812
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #150027;
/* rgb */ color: rgb(21, 0, 39);
/* oklch */ color: oklch(15.6% 0.081 305.2);
Tailwind
colors: {
  custom: {
    50: '#524661',
    500: '#150027',
    950: '#000000',
  },
}
SCSS
$custom: #150027;
$custom-light: #524661;
$custom-dark: #000000;
JSON
{
  "hex": "#150027",
  "rgb": {
    "r": 21,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 272.308,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15631,
    "c": 0.08112,
    "h": 305.2
  },
  "luminance": 0.00306
}

Semantic roles & 50–950 ramp

primary
#150027
secondary
#3E6F14
accent
#FF298C
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020005
muted
#787779

Preview Lab

Preview with #150027

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

Preview Lab → · Contrast checker → · Palette generator →

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