#320339#320339

#320339 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.2% C 0.103 H 322.1°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#320339
RGBrgb(50, 3, 57)
HSLhsl(292, 90%, 12%)
HSVhsv(292, 95%, 22%)
CMYKcmyk(12.3%, 94.7%, 0%, 77.6%)
CIE-LABlab(9.31, 30.90, -22.63)
CIE-LCHlch(9.31, 38.30, 323.79°)
OKLaboklab(23.2% 0.0814 -0.0635)
OKLCHoklch(23.2% 0.103 322.1)
XYZxyz(2.0864, 1.0388, 3.9607)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320339 #0A3903
analogous
#170339 #320339 #390325
triadic
#320339 #393203 #033932
tetradic
#320339 #391703 #0A3903 #032539
square
#320339 #391703 #0A3903 #032539
split-complementary
#320339 #253903 #033917
monochromatic
#19021D #19021D #320339 #650673 #9809AD

Accessibility & contrast

On white

17.39
#320339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#320339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320339
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320339#FFFFFF#000000##FFFFFF
##3203391.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#0A1C38
Tritanopia (blue-blind)
#330E1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320339;
/* rgb */ color: rgb(50, 3, 57);
/* oklch */ color: oklch(23.2% 0.103 322.1);
Tailwind
colors: {
  custom: {
    50: '#6d4a70',
    500: '#320339',
    950: '#000000',
  },
}
SCSS
$custom: #320339;
$custom-light: #6d4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#320339",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 57
  },
  "hsl": {
    "h": 292.222,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23203,
    "c": 0.10324,
    "h": 322.1
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#320339
secondary
#287C1C
accent
#FF2945
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320339

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

Preview Lab → · Contrast checker → · Palette generator →

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