#32137E#32137E

#32137E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.7% C 0.162 H 285.9°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#32137E
RGBrgb(50, 19, 126)
HSLhsl(257, 74%, 28%)
HSVhsv(257, 85%, 49%)
CMYKcmyk(60.3%, 84.9%, 0%, 50.6%)
CIE-LABlab(18.58, 42.11, -54.00)
CIE-LCHlch(18.58, 68.48, 307.95°)
OKLaboklab(31.74% 0.0442 -0.1556)
OKLCHoklch(31.74% 0.162 285.9)
XYZxyz(5.3130, 2.6499, 19.9661)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32137E #5F7E13
analogous
#13297E #32137E #67137E
triadic
#32137E #7E3213 #137E32
tetradic
#32137E #7E1329 #5F7E13 #137E67
square
#32137E #7E1329 #5F7E13 #137E67
split-complementary
#32137E #7E6713 #297E13
monochromatic
#0B041B #1D0B49 #32137E #471BB3 #602CDF

Accessibility & contrast

On white

13.73
#32137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#32137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32137E
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32137E#FFFFFF#000000##FFFFFF
##32137E1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#07344A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32137e;
/* rgb */ color: rgb(50, 19, 126);
/* oklch */ color: oklch(31.7% 0.162 285.9);
Tailwind
colors: {
  custom: {
    50: '#7556a5',
    500: '#32137e',
    950: '#000000',
  },
}
SCSS
$custom: #32137e;
$custom-light: #7556a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32137e",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 257.383,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31742,
    "c": 0.16173,
    "h": 285.9
  },
  "luminance": 0.0265
}

Semantic roles & 50–950 ramp

primary
#32137E
secondary
#90B439
accent
#F037BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32137E

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

Preview Lab → · Contrast checker → · Palette generator →

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