#150332#150332

#150332 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.087 H 294.0°. Best body text is #FFFFFF at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#150332
RGBrgb(21, 3, 50)
HSLhsl(263, 89%, 10%)
HSVhsv(263, 94%, 20%)
CMYKcmyk(58%, 94%, 0%, 80.4%)
CIE-LABlab(4.11, 19.78, -26.11)
CIE-LCHlch(4.11, 32.76, 307.15°)
OKLaboklab(17.66% 0.0353 -0.0794)
OKLCHoklch(17.66% 0.087 294)
XYZxyz(0.9174, 0.4548, 3.0564)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150332 #203203
analogous
#030832 #150332 #2C0332
triadic
#150332 #321503 #033215
tetradic
#150332 #320308 #203203 #03322C
square
#150332 #320308 #203203 #03322C
split-complementary
#150332 #322C03 #083203
monochromatic
#0C021D #0C021D #150332 #2D066C #450AA5

Accessibility & contrast

On white

19.25
#150332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #150332
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150332#FFFFFF#000000##FFFFFF
##1503321.0019.251.0919.25
#FFFFFF19.251.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F33
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#0C0F1A
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #150332;
/* rgb */ color: rgb(21, 3, 50);
/* oklch */ color: oklch(17.7% 0.087 294.0);
Tailwind
colors: {
  custom: {
    50: '#55476a',
    500: '#150332',
    950: '#000000',
  },
}
SCSS
$custom: #150332;
$custom-light: #55476a;
$custom-dark: #000000;
JSON
{
  "hex": "#150332",
  "rgb": {
    "r": 21,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 262.979,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.1766,
    "c": 0.08687,
    "h": 294
  },
  "luminance": 0.00455
}

Semantic roles & 50–950 ramp

primary
#150332
secondary
#53751B
accent
#FF29AD
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #150332

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

Preview Lab → · Contrast checker → · Palette generator →

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