#32156C#32156C

#32156C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.138 H 290.7°. Best body text is #FFFFFF at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#32156C
RGBrgb(50, 21, 108)
HSLhsl(260, 67%, 25%)
HSVhsv(260, 81%, 42%)
CMYKcmyk(53.7%, 80.6%, 0%, 57.6%)
CIE-LABlab(16.97, 35.89, -45.05)
CIE-LCHlch(16.97, 57.60, 308.54°)
OKLaboklab(30.05% 0.049 -0.1294)
OKLCHoklch(30.05% 0.138 290.7)
XYZxyz(4.2896, 2.2970, 14.4018)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32156C #4F6C15
analogous
#15236C #32156C #5D156C
triadic
#32156C #6C3215 #156C32
tetradic
#32156C #6C1523 #4F6C15 #156C5D
square
#32156C #6C1523 #4F6C15 #156C5D
split-complementary
#32156C #6C5D15 #236C15
monochromatic
#0C051A #1A0B39 #32156C #4A1F9F #6129D2

Accessibility & contrast

On white

14.39
#32156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32156C
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32156C#FFFFFF#000000##FFFFFF
##32156C1.0014.391.4614.39
#FFFFFF14.391.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#1E2D40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32156c;
/* rgb */ color: rgb(50, 21, 108);
/* oklch */ color: oklch(30.0% 0.138 290.7);
Tailwind
colors: {
  custom: {
    50: '#715697',
    500: '#32156c',
    950: '#000000',
  },
}
SCSS
$custom: #32156c;
$custom-light: #715697;
$custom-dark: #000000;
JSON
{
  "hex": "#32156c",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 260,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30046,
    "c": 0.1384,
    "h": 290.7
  },
  "luminance": 0.02297
}

Semantic roles & 50–950 ramp

primary
#32156C
secondary
#80A33A
accent
#EA3DB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32156C

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

Preview Lab → · Contrast checker → · Palette generator →

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