#320536#320536

#320536 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.2% C 0.097 H 324.4°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#320536
RGBrgb(50, 5, 54)
HSLhsl(295, 83%, 12%)
HSVhsv(295, 91%, 21%)
CMYKcmyk(7.4%, 90.7%, 0%, 78.8%)
CIE-LABlab(9.43, 29.25, -20.27)
CIE-LCHlch(9.43, 35.59, 325.29°)
OKLaboklab(23.21% 0.0791 -0.0566)
OKLCHoklch(23.21% 0.097 324.4)
XYZxyz(2.0355, 1.0531, 3.5854)
Luminance0.0105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320536 #093605
analogous
#1A0536 #320536 #360522
triadic
#320536 #363205 #053632
tetradic
#320536 #361A05 #093605 #052236
square
#320536 #361A05 #093605 #052236
split-complementary
#320536 #223605 #05361A
monochromatic
#1A031C #1A031C #320536 #660A6E #9A0FA6

Accessibility & contrast

On white

17.35
#320536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320536
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320536#FFFFFF#000000##FFFFFF
##3205361.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001737
Deuteranopia (green-blind)
#0F1C35
Tritanopia (blue-blind)
#330E1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320536;
/* rgb */ color: rgb(50, 5, 54);
/* oklch */ color: oklch(23.2% 0.097 324.4);
Tailwind
colors: {
  custom: {
    50: '#6c4b6d',
    500: '#320536',
    950: '#000000',
  },
}
SCSS
$custom: #320536;
$custom-light: #6c4b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#320536",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 54
  },
  "hsl": {
    "h": 295.102,
    "s": 83.051,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2321,
    "c": 0.09724,
    "h": 324.4
  },
  "luminance": 0.01053
}

Semantic roles & 50–950 ramp

primary
#320536
secondary
#277720
accent
#F92E3F
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320536

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

Preview Lab → · Contrast checker → · Palette generator →

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