#150229#150229

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

Color values

HEX#150229
RGBrgb(21, 2, 41)
HSLhsl(269, 91%, 8%)
HSVhsv(269, 95%, 16%)
CMYKcmyk(48.8%, 95.1%, 0%, 83.9%)
CIE-LABlab(3.28, 15.82, -20.64)
CIE-LCHlch(3.28, 26.01, 307.46°)
OKLaboklab(16.38% 0.0411 -0.0661)
OKLCHoklch(16.38% 0.078 301.9)
XYZxyz(0.7311, 0.3629, 2.1289)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150229 #162902
analogous
#020229 #150229 #280229
triadic
#150229 #291502 #022915
tetradic
#150229 #290202 #162902 #022928
square
#150229 #290202 #162902 #022928
split-complementary
#150229 #292802 #022902
monochromatic
#0F011D #0F011D #150229 #330563 #51089E

Accessibility & contrast

On white

19.58
#150229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150229
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150229#FFFFFF#000000##FFFFFF
##1502291.0019.581.0719.58
#FFFFFF19.581.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #150229;
/* rgb */ color: rgb(21, 2, 41);
/* oklch */ color: oklch(16.4% 0.078 301.9);
Tailwind
colors: {
  custom: {
    50: '#524763',
    500: '#150229',
    950: '#000000',
  },
}
SCSS
$custom: #150229;
$custom-light: #524763;
$custom-dark: #000000;
JSON
{
  "hex": "#150229",
  "rgb": {
    "r": 21,
    "g": 2,
    "b": 41
  },
  "hsl": {
    "h": 269.231,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16378,
    "c": 0.07789,
    "h": 301.9
  },
  "luminance": 0.00363
}

Semantic roles & 50–950 ramp

primary
#150229
secondary
#446E19
accent
#FF2997
background
#F4F4F5
surface
#E7E6EA
border
#C3C2C6
text
#020005
muted
#787779

Preview Lab

Preview with #150229

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

Preview Lab → · Contrast checker → · Palette generator →

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