#320534#320534

#320534 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.1% C 0.095 H 326.2°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#320534
RGBrgb(50, 5, 52)
HSLhsl(297, 82%, 11%)
HSVhsv(297, 90%, 20%)
CMYKcmyk(3.8%, 90.4%, 0%, 79.6%)
CIE-LABlab(9.28, 28.84, -19.05)
CIE-LCHlch(9.28, 34.56, 326.56°)
OKLaboklab(23.06% 0.0793 -0.053)
OKLCHoklch(23.06% 0.095 326.2)
XYZxyz(1.9895, 1.0347, 3.3431)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320534 #073405
analogous
#1A0534 #320534 #34051E
triadic
#320534 #343205 #053432
tetradic
#320534 #341A05 #073405 #051E34
square
#320534 #341A05 #073405 #051E34
split-complementary
#320534 #1E3405 #05341A
monochromatic
#1B031C #1B031C #320534 #680A6C #9D10A4

Accessibility & contrast

On white

17.40
#320534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320534
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320534#FFFFFF#000000##FFFFFF
##3205341.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#101C33
Tritanopia (blue-blind)
#340D1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320534;
/* rgb */ color: rgb(50, 5, 52);
/* oklch */ color: oklch(23.1% 0.095 326.2);
Tailwind
colors: {
  custom: {
    50: '#6c4b6c',
    500: '#320534',
    950: '#000000',
  },
}
SCSS
$custom: #320534;
$custom-light: #6c4b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#320534",
  "rgb": {
    "r": 50,
    "g": 5,
    "b": 52
  },
  "hsl": {
    "h": 297.447,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.23057,
    "c": 0.09536,
    "h": 326.2
  },
  "luminance": 0.01035
}

Semantic roles & 50–950 ramp

primary
#320534
secondary
#23751F
accent
#F92F38
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320534

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

Preview Lab → · Contrast checker → · Palette generator →

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