#32175B#32175B

#32175B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.115 H 296.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#32175B
RGBrgb(50, 23, 91)
HSLhsl(264, 60%, 22%)
HSVhsv(264, 75%, 36%)
CMYKcmyk(45.1%, 74.7%, 0%, 64.3%)
CIE-LABlab(15.73, 29.74, -35.85)
CIE-LCHlch(15.73, 46.58, 309.68°)
OKLaboklab(28.66% 0.0514 -0.1024)
OKLCHoklch(28.66% 0.115 296.6)
XYZxyz(3.5096, 2.0462, 10.1055)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32175B #405B17
analogous
#171E5B #32175B #54175B
triadic
#32175B #5B3217 #175B32
tetradic
#32175B #5B171E #405B17 #175B54
square
#32175B #5B171E #405B17 #175B54
split-complementary
#32175B #5B5417 #1E5B17
monochromatic
#0D0618 #170B2A #32175B #4D238C #6830BD

Accessibility & contrast

On white

14.90
#32175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#32175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32175B
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32175B#FFFFFF#000000##FFFFFF
##32175B1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#272837
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32175b;
/* rgb */ color: rgb(50, 23, 91);
/* oklch */ color: oklch(28.7% 0.115 296.6);
Tailwind
colors: {
  custom: {
    50: '#6e568a',
    500: '#32175b',
    950: '#000000',
  },
}
SCSS
$custom: #32175b;
$custom-light: #6e568a;
$custom-dark: #000000;
JSON
{
  "hex": "#32175b",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 263.824,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.11462,
    "h": 296.6
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#32175B
secondary
#70923C
accent
#E345A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #32175B

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

Preview Lab → · Contrast checker → · Palette generator →

#32175B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva