#32167C#32167C

#32167C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.157 H 285.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#32167C
RGBrgb(50, 22, 124)
HSLhsl(256, 70%, 29%)
HSVhsv(256, 82%, 49%)
CMYKcmyk(59.7%, 82.3%, 0%, 51.4%)
CIE-LABlab(18.83, 40.16, -52.32)
CIE-LCHlch(18.83, 65.96, 307.51°)
OKLaboklab(31.85% 0.0431 -0.1507)
OKLCHoklch(31.85% 0.157 285.9)
XYZxyz(5.2393, 2.7069, 19.3113)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32167C #607C16
analogous
#162D7C #32167C #65167C
triadic
#32167C #7C3216 #167C32
tetradic
#32167C #7C162D #607C16 #167C65
square
#32167C #7C162D #607C16 #167C65
split-complementary
#32167C #7C6516 #2D7C16
monochromatic
#0A051A #1D0D48 #32167C #471FB0 #6032DB

Accessibility & contrast

On white

13.62
#32167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#32167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32167C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32167C#FFFFFF#000000##FFFFFF
##32167C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#0B3449
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #32167c;
/* rgb */ color: rgb(50, 22, 124);
/* oklch */ color: oklch(31.8% 0.157 285.9);
Tailwind
colors: {
  custom: {
    50: '#7458a3',
    500: '#32167c',
    950: '#000000',
  },
}
SCSS
$custom: #32167c;
$custom-light: #7458a3;
$custom-dark: #000000;
JSON
{
  "hex": "#32167c",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 256.471,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31846,
    "c": 0.15673,
    "h": 285.9
  },
  "luminance": 0.02707
}

Semantic roles & 50–950 ramp

primary
#32167C
secondary
#91B13D
accent
#ED3BBC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #32167C

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

Preview Lab → · Contrast checker → · Palette generator →

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