#32165A#32165A

#32165A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.115 H 297.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#32165A
RGBrgb(50, 22, 90)
HSLhsl(265, 61%, 22%)
HSVhsv(265, 76%, 35%)
CMYKcmyk(44.4%, 75.6%, 0%, 64.7%)
CIE-LABlab(15.44, 30.01, -35.65)
CIE-LCHlch(15.44, 46.60, 310.09°)
OKLaboklab(28.43% 0.0527 -0.1019)
OKLCHoklch(28.43% 0.115 297.4)
XYZxyz(3.4473, 1.9901, 9.8734)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32165A #3E5A16
analogous
#161C5A #32165A #54165A
triadic
#32165A #5A3216 #165A32
tetradic
#32165A #5A161C #3E5A16 #165A54
square
#32165A #5A161C #3E5A16 #165A54
split-complementary
#32165A #5A5416 #1C5A16
monochromatic
#0E0619 #170A29 #32165A #4D228B #692EBC

Accessibility & contrast

On white

15.02
#32165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#32165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32165A
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32165A#FFFFFF#000000##FFFFFF
##32165A1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#282736
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #32165a;
/* rgb */ color: rgb(50, 22, 90);
/* oklch */ color: oklch(28.4% 0.115 297.4);
Tailwind
colors: {
  custom: {
    50: '#6e5689',
    500: '#32165a',
    950: '#000000',
  },
}
SCSS
$custom: #32165a;
$custom-light: #6e5689;
$custom-dark: #000000;
JSON
{
  "hex": "#32165a",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 264.706,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28427,
    "c": 0.11471,
    "h": 297.4
  },
  "luminance": 0.0199
}

Semantic roles & 50–950 ramp

primary
#32165A
secondary
#6E913B
accent
#E444A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #32165A

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

Preview Lab → · Contrast checker → · Palette generator →

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