#150532#150532

#150532 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.083 H 292.9°. Best body text is #FFFFFF at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#150532
RGBrgb(21, 5, 50)
HSLhsl(261, 82%, 11%)
HSVhsv(261, 90%, 20%)
CMYKcmyk(58%, 90%, 0%, 80.4%)
CIE-LABlab(4.50, 18.93, -25.49)
CIE-LCHlch(4.50, 31.75, 306.60°)
OKLaboklab(18.07% 0.0323 -0.0766)
OKLCHoklch(18.07% 0.083 292.9)
XYZxyz(0.9391, 0.4982, 3.0637)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#150532 #223205
analogous
#050B32 #150532 #2B0532
triadic
#150532 #321505 #053215
tetradic
#150532 #32050B #223205 #05322B
square
#150532 #32050B #223205 #05322B
split-complementary
#150532 #322B05 #0B3205
monochromatic
#0C031C #0C031C #150532 #2C0B6A #4410A1

Accessibility & contrast

On white

19.10
#150532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#150532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #150532
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##150532#FFFFFF#000000##FFFFFF
##1505321.0019.101.1019.10
#FFFFFF19.101.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#0C111B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #150532;
/* rgb */ color: rgb(21, 5, 50);
/* oklch */ color: oklch(18.1% 0.083 292.9);
Tailwind
colors: {
  custom: {
    50: '#55486a',
    500: '#150532',
    950: '#000000',
  },
}
SCSS
$custom: #150532;
$custom-light: #55486a;
$custom-dark: #000000;
JSON
{
  "hex": "#150532",
  "rgb": {
    "r": 21,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 261.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18072,
    "c": 0.08311,
    "h": 292.9
  },
  "luminance": 0.00498
}

Semantic roles & 50–950 ramp

primary
#150532
secondary
#56731F
accent
#F830B1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #150532

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

Preview Lab → · Contrast checker → · Palette generator →

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