#320331#320331

#320331 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.096 H 329.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#320331
RGBrgb(50, 3, 49)
HSLhsl(301, 89%, 10%)
HSVhsv(301, 94%, 20%)
CMYKcmyk(0%, 94%, 2%, 80.4%)
CIE-LABlab(8.70, 29.30, -17.77)
CIE-LCHlch(8.70, 34.27, 328.77°)
OKLaboklab(22.58% 0.0824 -0.0492)
OKLCHoklch(22.58% 0.096 329.1)
XYZxyz(1.9023, 0.9651, 2.9912)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320331 #033204
analogous
#1B0332 #320331 #320319
triadic
#320331 #313203 #033132
tetradic
#320331 #321B03 #033204 #031932
square
#320331 #321B03 #033204 #031932
split-complementary
#320331 #193203 #03321B
monochromatic
#1D021C #1D021C #320331 #6C066A #A50AA2

Accessibility & contrast

On white

17.60
#320331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320331
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320331#FFFFFF#000000##FFFFFF
##3203311.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#111B30
Tritanopia (blue-blind)
#34091A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320331;
/* rgb */ color: rgb(50, 3, 49);
/* oklch */ color: oklch(22.6% 0.096 329.1);
Tailwind
colors: {
  custom: {
    50: '#6c4969',
    500: '#320331',
    950: '#000000',
  },
}
SCSS
$custom: #320331;
$custom-light: #6c4969;
$custom-dark: #000000;
JSON
{
  "hex": "#320331",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 49
  },
  "hsl": {
    "h": 301.277,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22576,
    "c": 0.09603,
    "h": 329.1
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#320331
secondary
#1B751D
accent
#FF2E29
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #320331

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

Preview Lab → · Contrast checker → · Palette generator →

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