#32115D#32115D

#32115D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.125 H 297.3°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#32115D
RGBrgb(50, 17, 93)
HSLhsl(266, 69%, 22%)
HSVhsv(266, 82%, 36%)
CMYKcmyk(46.2%, 81.7%, 0%, 63.5%)
CIE-LABlab(14.79, 33.51, -38.73)
CIE-LCHlch(14.79, 51.21, 310.87°)
OKLaboklab(28.06% 0.0572 -0.1109)
OKLCHoklch(28.06% 0.125 297.3)
XYZxyz(3.4911, 1.8693, 10.5307)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32115D #3C5D11
analogous
#11165D #32115D #58115D
triadic
#32115D #5D3211 #115D32
tetradic
#32115D #5D1116 #3C5D11 #115D58
square
#32115D #5D1116 #3C5D11 #115D58
split-complementary
#32115D #5D5811 #165D11
monochromatic
#0E051A #160829 #32115D #4E1A91 #6A24C4

Accessibility & contrast

On white

15.29
#32115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32115D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32115D#FFFFFF#000000##FFFFFF
##32115D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00245C
Tritanopia (blue-blind)
#272536
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32115d;
/* rgb */ color: rgb(50, 17, 93);
/* oklch */ color: oklch(28.1% 0.125 297.3);
Tailwind
colors: {
  custom: {
    50: '#6f538c',
    500: '#32115d',
    950: '#000000',
  },
}
SCSS
$custom: #32115d;
$custom-light: #6f538c;
$custom-dark: #000000;
JSON
{
  "hex": "#32115d",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 266.053,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28056,
    "c": 0.12473,
    "h": 297.3
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#32115D
secondary
#6B9634
accent
#EC3C9F
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32115D

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

Preview Lab → · Contrast checker → · Palette generator →

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