#32137F#32137F

#32137F is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.163 H 285.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#32137F
RGBrgb(50, 19, 127)
HSLhsl(257, 74%, 29%)
HSVhsv(257, 85%, 50%)
CMYKcmyk(60.6%, 85%, 0%, 50.2%)
CIE-LABlab(18.70, 42.40, -54.45)
CIE-LCHlch(18.70, 69.01, 307.91°)
OKLaboklab(31.85% 0.0439 -0.1569)
OKLCHoklch(31.85% 0.163 285.6)
XYZxyz(5.3779, 2.6758, 20.3077)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32137F #607F13
analogous
#132A7F #32137F #68137F
triadic
#32137F #7F3213 #137F32
tetradic
#32137F #7F132A #607F13 #137F68
square
#32137F #7F132A #607F13 #137F68
split-complementary
#32137F #7F6813 #2A7F13
monochromatic
#0A041B #1D0B4A #32137F #471BB4 #602DE0

Accessibility & contrast

On white

13.68
#32137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#32137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32137F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32137F#FFFFFF#000000##FFFFFF
##32137F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#05344A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #32137f;
/* rgb */ color: rgb(50, 19, 127);
/* oklch */ color: oklch(31.9% 0.163 285.6);
Tailwind
colors: {
  custom: {
    50: '#7556a5',
    500: '#32137f',
    950: '#000000',
  },
}
SCSS
$custom: #32137f;
$custom-light: #7556a5;
$custom-dark: #000000;
JSON
{
  "hex": "#32137f",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 257.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31853,
    "c": 0.1629,
    "h": 285.6
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#32137F
secondary
#91B439
accent
#F137BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32137F

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

Preview Lab → · Contrast checker → · Palette generator →

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