#32165D#32165D

#32165D is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.119 H 296.1°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#32165D
RGBrgb(50, 22, 93)
HSLhsl(264, 62%, 23%)
HSVhsv(264, 76%, 36%)
CMYKcmyk(46.2%, 76.3%, 0%, 63.5%)
CIE-LABlab(15.71, 30.90, -37.22)
CIE-LCHlch(15.71, 48.37, 309.70°)
OKLaboklab(28.71% 0.0521 -0.1065)
OKLCHoklch(28.71% 0.119 296.1)
XYZxyz(3.5776, 2.0422, 10.5595)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32165D #415D16
analogous
#161E5D #32165D #55165D
triadic
#32165D #5D3216 #165D32
tetradic
#32165D #5D161E #415D16 #165D55
square
#32165D #5D161E #415D16 #165D55
split-complementary
#32165D #5D5516 #1E5D16
monochromatic
#0D0619 #170A2C #32165D #4D228E #672DC0

Accessibility & contrast

On white

14.91
#32165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#32165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32165D
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32165D#FFFFFF#000000##FFFFFF
##32165D1.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#272838
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32165d;
/* rgb */ color: rgb(50, 22, 93);
/* oklch */ color: oklch(28.7% 0.119 296.1);
Tailwind
colors: {
  custom: {
    50: '#6f568c',
    500: '#32165d',
    950: '#000000',
  },
}
SCSS
$custom: #32165d;
$custom-light: #6f568c;
$custom-dark: #000000;
JSON
{
  "hex": "#32165d",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 263.662,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28706,
    "c": 0.11853,
    "h": 296.1
  },
  "luminance": 0.02042
}

Semantic roles & 50–950 ramp

primary
#32165D
secondary
#71943B
accent
#E543A5
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #32165D

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

Preview Lab → · Contrast checker → · Palette generator →

#32165D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva