#32115E#32115E

#32115E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.126 H 296.8°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#32115E
RGBrgb(50, 17, 94)
HSLhsl(266, 69%, 22%)
HSVhsv(266, 82%, 37%)
CMYKcmyk(46.8%, 81.9%, 0%, 63.1%)
CIE-LABlab(14.88, 33.79, -39.23)
CIE-LCHlch(14.88, 51.78, 310.74°)
OKLaboklab(28.15% 0.0569 -0.1123)
OKLCHoklch(28.15% 0.126 296.8)
XYZxyz(3.5357, 1.8871, 10.7655)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32115E #3D5E11
analogous
#11175E #32115E #59115E
triadic
#32115E #5E3211 #115E32
tetradic
#32115E #5E1117 #3D5E11 #115E59
square
#32115E #5E1117 #3D5E11 #115E59
split-complementary
#32115E #5E5911 #175E11
monochromatic
#0E051A #16082A #32115E #4E1A92 #6924C6

Accessibility & contrast

On white

15.25
#32115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#32115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32115E
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32115E#FFFFFF#000000##FFFFFF
##32115E1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00245D
Tritanopia (blue-blind)
#262637
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #32115e;
/* rgb */ color: rgb(50, 17, 94);
/* oklch */ color: oklch(28.2% 0.126 296.8);
Tailwind
colors: {
  custom: {
    50: '#6f538c',
    500: '#32115e',
    950: '#000000',
  },
}
SCSS
$custom: #32115e;
$custom-light: #6f538c;
$custom-dark: #000000;
JSON
{
  "hex": "#32115e",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 265.714,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28154,
    "c": 0.12592,
    "h": 296.8
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#32115E
secondary
#6C9734
accent
#EC3CA1
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32115E

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

Preview Lab → · Contrast checker → · Palette generator →

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