#320539#320539

#320539 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.100 H 321.8°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#320539
RGBrgb(50, 5, 57)
HSLhsl(292, 84%, 12%)
HSVhsv(292, 91%, 22%)
CMYKcmyk(12.3%, 91.2%, 0%, 77.6%)
CIE-LABlab(9.66, 29.89, -22.07)
CIE-LCHlch(9.66, 37.15, 323.56°)
OKLaboklab(23.45% 0.0787 -0.0618)
OKLCHoklch(23.45% 0.1 321.8)
XYZxyz(2.1081, 1.0822, 3.9679)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320539 #0C3905
analogous
#180539 #320539 #390526
triadic
#320539 #393205 #053932
tetradic
#320539 #391805 #0C3905 #052639
square
#320539 #391805 #0C3905 #052639
split-complementary
#320539 #263905 #053918
monochromatic
#19021C #19021C #320539 #630A71 #950FAA

Accessibility & contrast

On white

17.26
#320539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#320539 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320539
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320539#FFFFFF#000000##FFFFFF
##3205391.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#0C1C38
Tritanopia (blue-blind)
#330F1F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320539;
/* rgb */ color: rgb(50, 5, 57);
/* oklch */ color: oklch(23.4% 0.100 321.8);
Tailwind
colors: {
  custom: {
    50: '#6c4b70',
    500: '#320539',
    950: '#000000',
  },
}
SCSS
$custom: #320539;
$custom-light: #6c4b70;
$custom-dark: #000000;
JSON
{
  "hex": "#320539",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 291.923,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23448,
    "c": 0.10011,
    "h": 321.8
  },
  "luminance": 0.01082
}

Semantic roles & 50–950 ramp

primary
#320539
secondary
#2C7A20
accent
#FA2E49
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320539

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

Preview Lab → · Contrast checker → · Palette generator →

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