#32155D#32155D

#32155D is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.120 H 296.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#32155D
RGBrgb(50, 21, 93)
HSLhsl(264, 63%, 22%)
HSVhsv(264, 77%, 36%)
CMYKcmyk(46.2%, 77.4%, 0%, 63.5%)
CIE-LABlab(15.51, 31.45, -37.54)
CIE-LCHlch(15.51, 48.97, 309.95°)
OKLaboklab(28.57% 0.0532 -0.1074)
OKLCHoklch(28.57% 0.12 296.3)
XYZxyz(3.5588, 2.0047, 10.5532)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32155D #405D15
analogous
#151C5D #32155D #56155D
triadic
#32155D #5D3215 #155D32
tetradic
#32155D #5D151C #405D15 #155D56
square
#32155D #5D151C #405D15 #155D56
split-complementary
#32155D #5D5615 #1C5D15
monochromatic
#0D0619 #170A2B #32155D #4D208F #682CC1

Accessibility & contrast

On white

14.99
#32155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#32155D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32155D
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32155D#FFFFFF#000000##FFFFFF
##32155D1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#272737
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32155d;
/* rgb */ color: rgb(50, 21, 93);
/* oklch */ color: oklch(28.6% 0.120 296.3);
Tailwind
colors: {
  custom: {
    50: '#6f558c',
    500: '#32155d',
    950: '#000000',
  },
}
SCSS
$custom: #32155d;
$custom-light: #6f558c;
$custom-dark: #000000;
JSON
{
  "hex": "#32155d",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 264.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28567,
    "c": 0.11984,
    "h": 296.3
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#32155D
secondary
#709439
accent
#E642A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32155D

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

Preview Lab → · Contrast checker → · Palette generator →

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