#320532#320532

#320532 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.093 H 328.1°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#320532
RGBrgb(50, 5, 50)
HSLhsl(300, 82%, 11%)
HSVhsv(300, 90%, 20%)
CMYKcmyk(0%, 90%, 0%, 80.4%)
CIE-LABlab(9.13, 28.44, -17.81)
CIE-LCHlch(9.13, 33.55, 327.95°)
OKLaboklab(22.91% 0.0794 -0.0494)
OKLCHoklch(22.91% 0.094 328.1)
XYZxyz(1.9454, 1.0171, 3.1108)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320532 #053205
analogous
#1B0532 #320532 #32051B
triadic
#320532 #323205 #053232
tetradic
#320532 #321B05 #053205 #051B32
square
#320532 #321B05 #053205 #051B32
split-complementary
#320532 #1B3205 #05321B
monochromatic
#1C031C #1C031C #320532 #6A0B6A #A110A1

Accessibility & contrast

On white

17.45
#320532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#320532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320532
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320532#FFFFFF#000000##FFFFFF
##3205321.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001633
Deuteranopia (green-blind)
#111C31
Tritanopia (blue-blind)
#340C1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320532;
/* rgb */ color: rgb(50, 5, 50);
/* oklch */ color: oklch(22.9% 0.093 328.1);
Tailwind
colors: {
  custom: {
    50: '#6c4b6a',
    500: '#320532',
    950: '#000000',
  },
}
SCSS
$custom: #320532;
$custom-light: #6c4b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#320532",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 300,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22908,
    "c": 0.0935,
    "h": 328.1
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#320532
secondary
#1F731F
accent
#F83030
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320532

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

Preview Lab → · Contrast checker → · Palette generator →

#320532 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva