#32137C#32137C

#32137C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.159 H 286.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#32137C
RGBrgb(50, 19, 124)
HSLhsl(258, 73%, 28%)
HSVhsv(258, 85%, 49%)
CMYKcmyk(59.7%, 84.7%, 0%, 51.4%)
CIE-LABlab(18.36, 41.53, -53.09)
CIE-LCHlch(18.36, 67.41, 308.03°)
OKLaboklab(31.52% 0.045 -0.1529)
OKLCHoklch(31.52% 0.159 286.4)
XYZxyz(5.1853, 2.5988, 19.2933)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32137C #5D7C13
analogous
#13297C #32137C #66137C
triadic
#32137C #7C3213 #137C32
tetradic
#32137C #7C1329 #5D7C13 #137C66
square
#32137C #7C1329 #5D7C13 #137C66
split-complementary
#32137C #7C6613 #297C13
monochromatic
#0B041B #1D0B47 #32137C #471BB1 #602BDF

Accessibility & contrast

On white

13.82
#32137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#32137C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32137C
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32137C#FFFFFF#000000##FFFFFF
##32137C1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#0C3349
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32137c;
/* rgb */ color: rgb(50, 19, 124);
/* oklch */ color: oklch(31.5% 0.159 286.4);
Tailwind
colors: {
  custom: {
    50: '#7456a3',
    500: '#32137c',
    950: '#000000',
  },
}
SCSS
$custom: #32137c;
$custom-light: #7456a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32137c",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 257.714,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31521,
    "c": 0.1594,
    "h": 286.4
  },
  "luminance": 0.02599
}

Semantic roles & 50–950 ramp

primary
#32137C
secondary
#8EB239
accent
#F038BA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32137C

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

Preview Lab → · Contrast checker → · Palette generator →

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