#320332#320332

#320332 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.097 H 328.2°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#320332
RGBrgb(50, 3, 50)
HSLhsl(300, 89%, 10%)
HSVhsv(300, 94%, 20%)
CMYKcmyk(0%, 94%, 0%, 80.4%)
CIE-LABlab(8.77, 29.49, -18.39)
CIE-LCHlch(8.77, 34.75, 328.06°)
OKLaboklab(22.65% 0.0824 -0.0511)
OKLCHoklch(22.65% 0.097 328.2)
XYZxyz(1.9237, 0.9737, 3.1036)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320332 #033203
analogous
#1A0332 #320332 #32031A
triadic
#320332 #323203 #033232
tetradic
#320332 #321A03 #033203 #031A32
square
#320332 #321A03 #033203 #031A32
split-complementary
#320332 #1A3203 #03321A
monochromatic
#1D021D #1D021D #320332 #6C066C #A50AA5

Accessibility & contrast

On white

17.58
#320332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#320332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320332
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320332#FFFFFF#000000##FFFFFF
##3203321.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001533
Deuteranopia (green-blind)
#101B31
Tritanopia (blue-blind)
#340A1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320332;
/* rgb */ color: rgb(50, 3, 50);
/* oklch */ color: oklch(22.7% 0.097 328.2);
Tailwind
colors: {
  custom: {
    50: '#6c4a6a',
    500: '#320332',
    950: '#000000',
  },
}
SCSS
$custom: #320332;
$custom-light: #6c4a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#320332",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 300,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22651,
    "c": 0.09691,
    "h": 328.2
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#320332
secondary
#1B751B
accent
#FF2929
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320332

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

Preview Lab → · Contrast checker → · Palette generator →

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