#32156E#32156E

#32156E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.141 H 290.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#32156E
RGBrgb(50, 21, 110)
HSLhsl(260, 68%, 26%)
HSVhsv(260, 81%, 43%)
CMYKcmyk(54.5%, 80.9%, 0%, 56.9%)
CIE-LABlab(17.18, 36.48, -46.02)
CIE-LCHlch(17.18, 58.72, 308.41°)
OKLaboklab(30.25% 0.0484 -0.1323)
OKLCHoklch(30.25% 0.141 290.1)
XYZxyz(4.3972, 2.3400, 14.9688)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32156E #516E15
analogous
#15246E #32156E #5E156E
triadic
#32156E #6E3215 #156E32
tetradic
#32156E #6E1524 #516E15 #156E5E
square
#32156E #6E1524 #516E15 #156E5E
split-complementary
#32156E #6E5E15 #246E15
monochromatic
#0C051A #1B0B3B #32156E #491FA1 #6129D5

Accessibility & contrast

On white

14.31
#32156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#32156E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32156E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32156E#FFFFFF#000000##FFFFFF
##32156E1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#1C2E41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32156e;
/* rgb */ color: rgb(50, 21, 110);
/* oklch */ color: oklch(30.3% 0.141 290.1);
Tailwind
colors: {
  custom: {
    50: '#715698',
    500: '#32156e',
    950: '#000000',
  },
}
SCSS
$custom: #32156e;
$custom-light: #715698;
$custom-dark: #000000;
JSON
{
  "hex": "#32156e",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 259.551,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30251,
    "c": 0.14084,
    "h": 290.1
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#32156E
secondary
#82A43A
accent
#EB3DB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32156E

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

Preview Lab → · Contrast checker → · Palette generator →

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