#32115C#32115C

#32115C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.124 H 297.7°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#32115C
RGBrgb(50, 17, 92)
HSLhsl(266, 69%, 21%)
HSVhsv(266, 82%, 36%)
CMYKcmyk(45.7%, 81.5%, 0%, 63.9%)
CIE-LABlab(14.69, 33.22, -38.21)
CIE-LCHlch(14.69, 50.64, 311.00°)
OKLaboklab(27.96% 0.0575 -0.1094)
OKLCHoklch(27.96% 0.124 297.7)
XYZxyz(3.4471, 1.8517, 10.2989)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32115C #3B5C11
analogous
#11165C #32115C #58115C
triadic
#32115C #5C3211 #115C32
tetradic
#32115C #5C1116 #3B5C11 #115C58
square
#32115C #5C1116 #3B5C11 #115C58
split-complementary
#32115C #5C5811 #165C11
monochromatic
#0E051A #160728 #32115C #4E1B90 #6A24C3

Accessibility & contrast

On white

15.32
#32115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #32115C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32115C#FFFFFF#000000##FFFFFF
##32115C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #32115c;
/* rgb */ color: rgb(50, 17, 92);
/* oklch */ color: oklch(28.0% 0.124 297.7);
Tailwind
colors: {
  custom: {
    50: '#6f538b',
    500: '#32115c',
    950: '#000000',
  },
}
SCSS
$custom: #32115c;
$custom-light: #6f538b;
$custom-dark: #000000;
JSON
{
  "hex": "#32115c",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 266.4,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.27958,
    "c": 0.12354,
    "h": 297.7
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#32115C
secondary
#6A9534
accent
#EC3C9E
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32115C

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

Preview Lab → · Contrast checker → · Palette generator →

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