#150224#150224

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

Color values

HEX#150224
RGBrgb(21, 2, 36)
HSLhsl(274, 89%, 7%)
HSVhsv(274, 94%, 14%)
CMYKcmyk(41.7%, 94.4%, 0%, 85.9%)
CIE-LABlab(2.98, 13.74, -17.24)
CIE-LCHlch(2.98, 22.05, 308.55°)
OKLaboklab(15.82% 0.0431 -0.0575)
OKLCHoklch(15.82% 0.072 306.9)
XYZxyz(0.6493, 0.3302, 1.6983)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150224 #112402
analogous
#040224 #150224 #240222
triadic
#150224 #241502 #022415
tetradic
#150224 #240402 #112402 #022224
square
#150224 #240402 #112402 #022224
split-complementary
#150224 #222402 #022404
monochromatic
#11021D #11021D #150224 #37055E #590898

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##150224#FFFFFF#000000##FFFFFF
##1502241.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)
#000A25
Deuteranopia (green-blind)
#000B23
Tritanopia (blue-blind)
#120911
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #150224;
/* rgb */ color: rgb(21, 2, 36);
/* oklch */ color: oklch(15.8% 0.072 306.9);
Tailwind
colors: {
  custom: {
    50: '#52475e',
    500: '#150224',
    950: '#000000',
  },
}
SCSS
$custom: #150224;
$custom-light: #52475e;
$custom-dark: #000000;
JSON
{
  "hex": "#150224",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 273.529,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.15824,
    "c": 0.07183,
    "h": 306.9
  },
  "luminance": 0.0033
}

Semantic roles & 50–950 ramp

primary
#150224
secondary
#3C6A18
accent
#FF2987
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #150224

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

Preview Lab → · Contrast checker → · Palette generator →

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