#32156D#32156D

#32156D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.140 H 290.4°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#32156D
RGBrgb(50, 21, 109)
HSLhsl(260, 68%, 25%)
HSVhsv(260, 81%, 43%)
CMYKcmyk(54.1%, 80.7%, 0%, 57.3%)
CIE-LABlab(17.08, 36.18, -45.53)
CIE-LCHlch(17.08, 58.16, 308.47°)
OKLaboklab(30.15% 0.0487 -0.1308)
OKLCHoklch(30.15% 0.14 290.4)
XYZxyz(4.3431, 2.3184, 14.6837)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32156D #506D15
analogous
#15246D #32156D #5E156D
triadic
#32156D #6D3215 #156D32
tetradic
#32156D #6D1524 #506D15 #156D5E
square
#32156D #6D1524 #506D15 #156D5E
split-complementary
#32156D #6D5E15 #246D15
monochromatic
#0C051A #1A0B3A #32156D #4A1FA0 #6129D4

Accessibility & contrast

On white

14.35
#32156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#32156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32156D
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32156D#FFFFFF#000000##FFFFFF
##32156D1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#1D2E40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32156d;
/* rgb */ color: rgb(50, 21, 109);
/* oklch */ color: oklch(30.1% 0.140 290.4);
Tailwind
colors: {
  custom: {
    50: '#715698',
    500: '#32156d',
    950: '#000000',
  },
}
SCSS
$custom: #32156d;
$custom-light: #715698;
$custom-dark: #000000;
JSON
{
  "hex": "#32156d",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 259.773,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30148,
    "c": 0.13962,
    "h": 290.4
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#32156D
secondary
#81A33A
accent
#EB3DB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32156D

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

Preview Lab → · Contrast checker → · Palette generator →

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