#32156F#32156F

#32156F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.142 H 289.8°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#32156F
RGBrgb(50, 21, 111)
HSLhsl(259, 68%, 26%)
HSVhsv(259, 81%, 44%)
CMYKcmyk(55%, 81.1%, 0%, 56.5%)
CIE-LABlab(17.28, 36.78, -46.50)
CIE-LCHlch(17.28, 59.28, 308.34°)
OKLaboklab(30.35% 0.0481 -0.1337)
OKLCHoklch(30.35% 0.142 289.8)
XYZxyz(4.4520, 2.3619, 15.2572)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32156F #526F15
analogous
#15256F #32156F #5F156F
triadic
#32156F #6F3215 #156F32
tetradic
#32156F #6F1525 #526F15 #156F5F
square
#32156F #6F1525 #526F15 #156F5F
split-complementary
#32156F #6F5F15 #256F15
monochromatic
#0C051A #1B0B3C #32156F #491FA2 #6028D6

Accessibility & contrast

On white

14.26
#32156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32156F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32156F#FFFFFF#000000##FFFFFF
##32156F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#1B2F41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #32156f;
/* rgb */ color: rgb(50, 21, 111);
/* oklch */ color: oklch(30.4% 0.142 289.8);
Tailwind
colors: {
  custom: {
    50: '#725699',
    500: '#32156f',
    950: '#000000',
  },
}
SCSS
$custom: #32156f;
$custom-light: #725699;
$custom-dark: #000000;
JSON
{
  "hex": "#32156f",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 259.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30354,
    "c": 0.14205,
    "h": 289.8
  },
  "luminance": 0.02362
}

Semantic roles & 50–950 ramp

primary
#32156F
secondary
#83A53A
accent
#EB3DB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32156F

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

Preview Lab → · Contrast checker → · Palette generator →

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