#320736#320736

#320736 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.094 H 324.3°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#320736
RGBrgb(50, 7, 54)
HSLhsl(295, 77%, 12%)
HSVhsv(295, 87%, 21%)
CMYKcmyk(7.4%, 87%, 0%, 78.8%)
CIE-LABlab(9.77, 28.26, -19.72)
CIE-LCHlch(9.77, 34.46, 325.10°)
OKLaboklab(23.46% 0.0764 -0.055)
OKLCHoklch(23.46% 0.094 324.3)
XYZxyz(2.0572, 1.0965, 3.5926)
Luminance0.0110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320736 #0B3607
analogous
#1B0736 #320736 #360723
triadic
#320736 #363207 #073632
tetradic
#320736 #361B07 #0B3607 #072336
square
#320736 #361B07 #0B3607 #072336
split-complementary
#320736 #233607 #07361B
monochromatic
#19041B #19041B #320736 #640E6C #9615A2

Accessibility & contrast

On white

17.22
#320736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320736
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320736#FFFFFF#000000##FFFFFF
##3207361.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#101D35
Tritanopia (blue-blind)
#330F1E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #320736;
/* rgb */ color: rgb(50, 7, 54);
/* oklch */ color: oklch(23.5% 0.094 324.3);
Tailwind
colors: {
  custom: {
    50: '#6c4c6d',
    500: '#320736',
    950: '#000000',
  },
}
SCSS
$custom: #320736;
$custom-light: #6c4c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#320736",
  "rgb": {
    "r": 50,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 294.894,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23455,
    "c": 0.0941,
    "h": 324.3
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#320736
secondary
#2A7623
accent
#F43444
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320736

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

Preview Lab → · Contrast checker → · Palette generator →

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