#32115B#32115B

#32115B is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.122 H 298.2°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#32115B
RGBrgb(50, 17, 91)
HSLhsl(267, 69%, 21%)
HSVhsv(267, 81%, 36%)
CMYKcmyk(45.1%, 81.3%, 0%, 64.3%)
CIE-LABlab(14.59, 32.94, -37.70)
CIE-LCHlch(14.59, 50.06, 311.15°)
OKLaboklab(27.86% 0.0578 -0.1078)
OKLCHoklch(27.86% 0.122 298.2)
XYZxyz(3.4037, 1.8343, 10.0702)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32115B #3A5B11
analogous
#11155B #32115B #57115B
triadic
#32115B #5B3211 #115B32
tetradic
#32115B #5B1115 #3A5B11 #115B57
square
#32115B #5B1115 #3A5B11 #115B57
split-complementary
#32115B #5B5711 #155B11
monochromatic
#0E051A #160727 #32115B #4E1B8F #6B24C2

Accessibility & contrast

On white

15.36
#32115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#32115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32115B
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32115B#FFFFFF#000000##FFFFFF
##32115B1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#282535
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32115b;
/* rgb */ color: rgb(50, 17, 91);
/* oklch */ color: oklch(27.9% 0.122 298.2);
Tailwind
colors: {
  custom: {
    50: '#6f538a',
    500: '#32115b',
    950: '#000000',
  },
}
SCSS
$custom: #32115b;
$custom-light: #6f538a;
$custom-dark: #000000;
JSON
{
  "hex": "#32115b",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 266.757,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27861,
    "c": 0.12234,
    "h": 298.2
  },
  "luminance": 0.01834
}

Semantic roles & 50–950 ramp

primary
#32115B
secondary
#699434
accent
#EB3C9D
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #32115B

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

Preview Lab → · Contrast checker → · Palette generator →

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