#150223#150223

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

Color values

HEX#150223
RGBrgb(21, 2, 35)
HSLhsl(275, 89%, 7%)
HSVhsv(275, 94%, 14%)
CMYKcmyk(40%, 94.3%, 0%, 86.3%)
CIE-LABlab(2.93, 13.36, -16.54)
CIE-LCHlch(2.93, 21.27, 308.92°)
OKLaboklab(15.72% 0.0434 -0.0557)
OKLCHoklch(15.72% 0.071 308)
XYZxyz(0.6343, 0.3242, 1.6189)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150223 #102302
analogous
#040223 #150223 #230221
triadic
#150223 #231502 #022315
tetradic
#150223 #230402 #102302 #022123
square
#150223 #230402 #102302 #022123
split-complementary
#150223 #212302 #022304
monochromatic
#11021D #11021D #150223 #38055D #5A0997

Accessibility & contrast

On white

19.72
#150223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150223
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150223#FFFFFF#000000##FFFFFF
##1502231.0019.721.0619.72
#FFFFFF19.721.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A24
Deuteranopia (green-blind)
#000B22
Tritanopia (blue-blind)
#130811
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #150223;
/* rgb */ color: rgb(21, 2, 35);
/* oklch */ color: oklch(15.7% 0.071 308.0);
Tailwind
colors: {
  custom: {
    50: '#52475e',
    500: '#150223',
    950: '#000000',
  },
}
SCSS
$custom: #150223;
$custom-light: #52475e;
$custom-dark: #000000;
JSON
{
  "hex": "#150223",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 35
  },
  "hsl": {
    "h": 274.545,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.15718,
    "c": 0.07062,
    "h": 308
  },
  "luminance": 0.00324
}

Semantic roles & 50–950 ramp

primary
#150223
secondary
#3A6918
accent
#FF2984
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150223

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

Preview Lab → · Contrast checker → · Palette generator →

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