#150028#150028

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

Color values

HEX#150028
RGBrgb(21, 0, 40)
HSLhsl(272, 100%, 8%)
HSVhsv(272, 100%, 16%)
CMYKcmyk(47.5%, 100%, 0%, 84.3%)
CIE-LABlab(2.82, 16.18, -20.59)
CIE-LCHlch(2.82, 26.19, 308.17°)
OKLaboklab(15.75% 0.0461 -0.068)
OKLCHoklch(15.75% 0.082 304.2)
XYZxyz(0.6922, 0.3126, 2.0309)
Luminance0.0031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150028 #132800
analogous
#010028 #150028 #280027
triadic
#150028 #281500 #002815
tetradic
#150028 #280100 #132800 #002728
square
#150028 #280100 #132800 #002728
split-complementary
#150028 #272800 #002801
monochromatic
#10001F #10001F #150028 #350065 #5500A2

Accessibility & contrast

On white

19.76
#150028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150028
19.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150028#FFFFFF#000000##FFFFFF
##1500281.0019.761.0619.76
#FFFFFF19.761.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A29
Deuteranopia (green-blind)
#000A27
Tritanopia (blue-blind)
#110813
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #150028;
/* rgb */ color: rgb(21, 0, 40);
/* oklch */ color: oklch(15.8% 0.082 304.2);
Tailwind
colors: {
  custom: {
    50: '#524662',
    500: '#150028',
    950: '#000000',
  },
}
SCSS
$custom: #150028;
$custom-light: #524662;
$custom-dark: #000000;
JSON
{
  "hex": "#150028",
  "rgb": {
    "r": 21,
    "g": 0,
    "b": 40
  },
  "hsl": {
    "h": 271.5,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.1575,
    "c": 0.08217,
    "h": 304.2
  },
  "luminance": 0.00313
}

Semantic roles & 50–950 ramp

primary
#150028
secondary
#407014
accent
#FF298F
background
#F4F3F5
surface
#E7E5EA
border
#C3C1C6
text
#020005
muted
#787779

Preview Lab

Preview with #150028

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

Preview Lab → · Contrast checker → · Palette generator →

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