#32156A#32156A

#32156A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.136 H 291.4°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#32156A
RGBrgb(50, 21, 106)
HSLhsl(260, 67%, 25%)
HSVhsv(260, 80%, 42%)
CMYKcmyk(52.8%, 80.2%, 0%, 58.4%)
CIE-LABlab(16.77, 35.29, -44.07)
CIE-LCHlch(16.77, 56.46, 308.68°)
OKLaboklab(29.84% 0.0496 -0.1266)
OKLCHoklch(29.84% 0.136 291.4)
XYZxyz(4.1843, 2.2549, 13.8476)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32156A #4D6A15
analogous
#15226A #32156A #5D156A
triadic
#32156A #6A3215 #156A32
tetradic
#32156A #6A1522 #4D6A15 #156A5D
square
#32156A #6A1522 #4D6A15 #156A5D
split-complementary
#32156A #6A5D15 #226A15
monochromatic
#0C051A #1A0B37 #32156A #4A1F9D #6229D0

Accessibility & contrast

On white

14.47
#32156A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#32156A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32156A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32156A#FFFFFF#000000##FFFFFF
##32156A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#1F2D3F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #32156a;
/* rgb */ color: rgb(50, 21, 106);
/* oklch */ color: oklch(29.8% 0.136 291.4);
Tailwind
colors: {
  custom: {
    50: '#715695',
    500: '#32156a',
    950: '#000000',
  },
}
SCSS
$custom: #32156a;
$custom-light: #715695;
$custom-dark: #000000;
JSON
{
  "hex": "#32156a",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 106
  },
  "hsl": {
    "h": 260.471,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29842,
    "c": 0.13596,
    "h": 291.4
  },
  "luminance": 0.02255
}

Semantic roles & 50–950 ramp

primary
#32156A
secondary
#7EA13A
accent
#EA3EAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32156A

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

Preview Lab → · Contrast checker → · Palette generator →

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