#32155B#32155B

#32155B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.117 H 297.2°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#32155B
RGBrgb(50, 21, 91)
HSLhsl(265, 63%, 22%)
HSVhsv(265, 77%, 36%)
CMYKcmyk(45.1%, 76.9%, 0%, 64.3%)
CIE-LABlab(15.33, 30.86, -36.50)
CIE-LCHlch(15.33, 47.80, 310.21°)
OKLaboklab(28.38% 0.0536 -0.1043)
OKLCHoklch(28.38% 0.117 297.2)
XYZxyz(3.4714, 1.9697, 10.0928)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32155B #3E5B15
analogous
#151B5B #32155B #55155B
triadic
#32155B #5B3215 #155B32
tetradic
#32155B #5B151B #3E5B15 #155B55
square
#32155B #5B151B #3E5B15 #155B55
split-complementary
#32155B #5B5515 #1B5B15
monochromatic
#0E0619 #170A29 #32155B #4D208D #692CBE

Accessibility & contrast

On white

15.06
#32155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#32155B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32155B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32155B#FFFFFF#000000##FFFFFF
##32155B1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#282736
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #32155b;
/* rgb */ color: rgb(50, 21, 91);
/* oklch */ color: oklch(28.4% 0.117 297.2);
Tailwind
colors: {
  custom: {
    50: '#6e558a',
    500: '#32155b',
    950: '#000000',
  },
}
SCSS
$custom: #32155b;
$custom-light: #6e558a;
$custom-dark: #000000;
JSON
{
  "hex": "#32155b",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 264.857,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28379,
    "c": 0.11732,
    "h": 297.2
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#32155B
secondary
#6E9239
accent
#E642A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32155B

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

Preview Lab → · Contrast checker → · Palette generator →

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