#32176F#32176F

#32176F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.140 H 289.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#32176F
RGBrgb(50, 23, 111)
HSLhsl(258, 66%, 26%)
HSVhsv(258, 79%, 44%)
CMYKcmyk(55%, 79.3%, 0%, 56.5%)
CIE-LABlab(17.64, 35.76, -45.91)
CIE-LCHlch(17.64, 58.20, 307.91°)
OKLaboklab(30.6% 0.0464 -0.132)
OKLCHoklch(30.6% 0.14 289.4)
XYZxyz(4.4902, 2.4384, 15.2699)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32176F #546F17
analogous
#17286F #32176F #5E176F
triadic
#32176F #6F3217 #176F32
tetradic
#32176F #6F1728 #546F17 #176F5E
square
#32176F #6F1728 #546F17 #176F5E
split-complementary
#32176F #6F5E17 #286F17
monochromatic
#0B0519 #1B0C3C #32176F #4922A2 #602DD3

Accessibility & contrast

On white

14.11
#32176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#32176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32176F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32176F#FFFFFF#000000##FFFFFF
##32176F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#1B2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #32176f;
/* rgb */ color: rgb(50, 23, 111);
/* oklch */ color: oklch(30.6% 0.140 289.4);
Tailwind
colors: {
  custom: {
    50: '#725799',
    500: '#32176f',
    950: '#000000',
  },
}
SCSS
$custom: #32176f;
$custom-light: #725799;
$custom-dark: #000000;
JSON
{
  "hex": "#32176f",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 258.409,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30603,
    "c": 0.13991,
    "h": 289.4
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#32176F
secondary
#85A53D
accent
#E93FB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #32176F

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

Preview Lab → · Contrast checker → · Palette generator →

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