#150333#150333

#150333 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.088 H 293.3°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#150333
RGBrgb(21, 3, 51)
HSLhsl(263, 89%, 11%)
HSVhsv(263, 94%, 20%)
CMYKcmyk(58.8%, 94.1%, 0%, 80%)
CIE-LABlab(4.19, 20.28, -26.73)
CIE-LCHlch(4.19, 33.55, 307.19°)
OKLaboklab(17.78% 0.0349 -0.0809)
OKLCHoklch(17.78% 0.088 293.3)
XYZxyz(0.9392, 0.4635, 3.1713)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150333 #213303
analogous
#030933 #150333 #2D0333
triadic
#150333 #331503 #033315
tetradic
#150333 #330309 #213303 #03332D
square
#150333 #330309 #213303 #03332D
split-complementary
#150333 #332D03 #093303
monochromatic
#0C021D #0C021D #150333 #2D066D #450AA7

Accessibility & contrast

On white

19.22
#150333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#150333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150333
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150333#FFFFFF#000000##FFFFFF
##1503331.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F34
Deuteranopia (green-blind)
#000E32
Tritanopia (blue-blind)
#0B101B
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #150333;
/* rgb */ color: rgb(21, 3, 51);
/* oklch */ color: oklch(17.8% 0.088 293.3);
Tailwind
colors: {
  custom: {
    50: '#55476b',
    500: '#150333',
    950: '#000000',
  },
}
SCSS
$custom: #150333;
$custom-light: #55476b;
$custom-dark: #000000;
JSON
{
  "hex": "#150333",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 262.5,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.17781,
    "c": 0.08814,
    "h": 293.3
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#150333
secondary
#54761C
accent
#FF29AF
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #150333

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

Preview Lab → · Contrast checker → · Palette generator →

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