#320537#320537

#320537 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.098 H 323.6°. Best body text is #FFFFFF at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#320537
RGBrgb(50, 5, 55)
HSLhsl(294, 83%, 12%)
HSVhsv(294, 91%, 22%)
CMYKcmyk(9.1%, 90.9%, 0%, 78.4%)
CIE-LABlab(9.50, 29.46, -20.87)
CIE-LCHlch(9.50, 36.11, 324.69°)
OKLaboklab(23.29% 0.079 -0.0583)
OKLCHoklch(23.29% 0.098 323.6)
XYZxyz(2.0592, 1.0626, 3.7103)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320537 #0A3705
analogous
#190537 #320537 #370523
triadic
#320537 #373205 #053732
tetradic
#320537 #371905 #0A3705 #052337
square
#320537 #371905 #0A3705 #052337
split-complementary
#320537 #233705 #053719
monochromatic
#19031C #19031C #320537 #650A6F #980FA7

Accessibility & contrast

On white

17.32
#320537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320537
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320537#FFFFFF#000000##FFFFFF
##3205371.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#0E1C36
Tritanopia (blue-blind)
#330E1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320537;
/* rgb */ color: rgb(50, 5, 55);
/* oklch */ color: oklch(23.3% 0.098 323.6);
Tailwind
colors: {
  custom: {
    50: '#6c4b6e',
    500: '#320537',
    950: '#000000',
  },
}
SCSS
$custom: #320537;
$custom-light: #6c4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#320537",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 294,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.23289,
    "c": 0.09819,
    "h": 323.6
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#320537
secondary
#287820
accent
#FA2E43
background
#F6F4F6
surface
#ECE7EC
border
#C7C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #320537

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

Preview Lab → · Contrast checker → · Palette generator →

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