#32154A#32154A

#32154A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.096 H 306.1°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#32154A
RGBrgb(50, 21, 74)
HSLhsl(273, 56%, 19%)
HSVhsv(273, 72%, 29%)
CMYKcmyk(32.4%, 71.6%, 0%, 71%)
CIE-LABlab(13.88, 25.99, -27.28)
CIE-LCHlch(13.88, 37.68, 313.61°)
OKLaboklab(26.89% 0.0564 -0.0772)
OKLCHoklch(26.89% 0.096 306.1)
XYZxyz(2.8193, 1.7089, 6.6586)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32154A #2D4A15
analogous
#17154A #32154A #4A1547
triadic
#32154A #4A3215 #154A32
tetradic
#32154A #4A1715 #2D4A15 #15474A
square
#32154A #4A1715 #2D4A15 #15474A
split-complementary
#32154A #474A15 #154A17
monochromatic
#100718 #12071A #32154A #52237A #7230A9

Accessibility & contrast

On white

15.65
#32154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#32154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32154A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32154A#FFFFFF#000000##FFFFFF
##32154A1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#082449
Tritanopia (blue-blind)
#2E202D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #32154a;
/* rgb */ color: rgb(50, 21, 74);
/* oklch */ color: oklch(26.9% 0.096 306.1);
Tailwind
colors: {
  custom: {
    50: '#6c547d',
    500: '#32154a',
    950: '#000000',
  },
}
SCSS
$custom: #32154a;
$custom-light: #6c547d;
$custom-dark: #000000;
JSON
{
  "hex": "#32154a",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 272.83,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26887,
    "c": 0.09563,
    "h": 306.1
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#32154A
secondary
#5A8239
accent
#DF498D
background
#F6F4F7
surface
#ECE8EE
border
#C7C4C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #32154A

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

Preview Lab → · Contrast checker → · Palette generator →

#32154A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva