#32156B#32156B

#32156B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.137 H 291.1°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#32156B
RGBrgb(50, 21, 107)
HSLhsl(260, 67%, 25%)
HSVhsv(260, 80%, 42%)
CMYKcmyk(53.3%, 80.4%, 0%, 58%)
CIE-LABlab(16.87, 35.59, -44.56)
CIE-LCHlch(16.87, 57.03, 308.61°)
OKLaboklab(29.94% 0.0493 -0.128)
OKLCHoklch(29.94% 0.137 291.1)
XYZxyz(4.2366, 2.2758, 14.1231)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32156B #4E6B15
analogous
#15236B #32156B #5D156B
triadic
#32156B #6B3215 #156B32
tetradic
#32156B #6B1523 #4E6B15 #156B5D
square
#32156B #6B1523 #4E6B15 #156B5D
split-complementary
#32156B #6B5D15 #236B15
monochromatic
#0C051A #1A0B38 #32156B #4A1F9E #6229D1

Accessibility & contrast

On white

14.43
#32156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32156B
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32156B#FFFFFF#000000##FFFFFF
##32156B1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#1E2D3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32156b;
/* rgb */ color: rgb(50, 21, 107);
/* oklch */ color: oklch(29.9% 0.137 291.1);
Tailwind
colors: {
  custom: {
    50: '#715696',
    500: '#32156b',
    950: '#000000',
  },
}
SCSS
$custom: #32156b;
$custom-light: #715696;
$custom-dark: #000000;
JSON
{
  "hex": "#32156b",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 260.233,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.29944,
    "c": 0.13719,
    "h": 291.1
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#32156B
secondary
#7FA23A
accent
#EA3EB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #32156B

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

Preview Lab → · Contrast checker → · Palette generator →

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