#32177A#32177A

#32177A is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.153 H 286.3°. Best body text is #FFFFFF at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#32177A
RGBrgb(50, 23, 122)
HSLhsl(256, 68%, 28%)
HSVhsv(256, 81%, 48%)
CMYKcmyk(59%, 81.1%, 0%, 52.2%)
CIE-LABlab(18.78, 39.08, -51.12)
CIE-LCHlch(18.78, 64.35, 307.40°)
OKLaboklab(31.75% 0.043 -0.1472)
OKLCHoklch(31.75% 0.153 286.3)
XYZxyz(5.1336, 2.6957, 18.6584)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32177A #5F7A17
analogous
#172D7A #32177A #63177A
triadic
#32177A #7A3217 #177A32
tetradic
#32177A #7A172D #5F7A17 #177A63
square
#32177A #7A172D #5F7A17 #177A63
split-complementary
#32177A #7A6317 #2D7A17
monochromatic
#0B051A #1D0D47 #32177A #4721AD #6033D9

Accessibility & contrast

On white

13.64
#32177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#32177A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32177A
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32177A#FFFFFF#000000##FFFFFF
##32177A1.0013.641.5413.64
#FFFFFF13.641.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#0F3448
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32177a;
/* rgb */ color: rgb(50, 23, 122);
/* oklch */ color: oklch(31.7% 0.153 286.3);
Tailwind
colors: {
  custom: {
    50: '#7458a1',
    500: '#32177a',
    950: '#000000',
  },
}
SCSS
$custom: #32177a;
$custom-light: #7458a1;
$custom-dark: #000000;
JSON
{
  "hex": "#32177a",
  "rgb": {
    "r": 50,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 256.364,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.31748,
    "c": 0.15337,
    "h": 286.3
  },
  "luminance": 0.02696
}

Semantic roles & 50–950 ramp

primary
#32177A
secondary
#90AF3E
accent
#EB3DBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32177A

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

Preview Lab → · Contrast checker → · Palette generator →

#32177A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva