#320538#320538

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

Color values

HEX#320538
RGBrgb(50, 5, 56)
HSLhsl(293, 84%, 12%)
HSVhsv(293, 91%, 22%)
CMYKcmyk(10.7%, 91.1%, 0%, 78%)
CIE-LABlab(9.58, 29.67, -21.47)
CIE-LCHlch(9.58, 36.63, 324.11°)
OKLaboklab(23.37% 0.0789 -0.0601)
OKLCHoklch(23.37% 0.099 322.7)
XYZxyz(2.0834, 1.0723, 3.8379)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320538 #0B3805
analogous
#190538 #320538 #380525
triadic
#320538 #383205 #053832
tetradic
#320538 #381905 #0B3805 #052538
square
#320538 #381905 #0B3805 #052538
split-complementary
#320538 #253805 #053819
monochromatic
#19031C #19031C #320538 #640A70 #960FA8

Accessibility & contrast

On white

17.29
#320538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320538
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320538#FFFFFF#000000##FFFFFF
##3205381.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001739
Deuteranopia (green-blind)
#0D1C37
Tritanopia (blue-blind)
#330F1E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320538;
/* rgb */ color: rgb(50, 5, 56);
/* oklch */ color: oklch(23.4% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#6c4b6f',
    500: '#320538',
    950: '#000000',
  },
}
SCSS
$custom: #320538;
$custom-light: #6c4b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#320538",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 292.941,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23368,
    "c": 0.09914,
    "h": 322.7
  },
  "luminance": 0.01072
}

Semantic roles & 50–950 ramp

primary
#320538
secondary
#2A7920
accent
#FA2E46
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320538

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

Preview Lab → · Contrast checker → · Palette generator →

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