#320434#320434

#320434 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.097 H 326.3°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#320434
RGBrgb(50, 4, 52)
HSLhsl(298, 86%, 11%)
HSVhsv(298, 92%, 20%)
CMYKcmyk(3.8%, 92.3%, 0%, 79.6%)
CIE-LABlab(9.10, 29.36, -19.33)
CIE-LCHlch(9.10, 35.15, 326.64°)
OKLaboklab(22.93% 0.0807 -0.0538)
OKLCHoklch(22.93% 0.097 326.3)
XYZxyz(1.9786, 1.0130, 3.3395)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320434 #063404
analogous
#1A0434 #320434 #34041E
triadic
#320434 #343204 #043432
tetradic
#320434 #341A04 #063404 #041E34
square
#320434 #341A04 #063404 #041E34
split-complementary
#320434 #1E3404 #04341A
monochromatic
#1B021C #1B021C #320434 #69086D #9F0DA6

Accessibility & contrast

On white

17.46
#320434 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#320434 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320434
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320434#FFFFFF#000000##FFFFFF
##3204341.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001635
Deuteranopia (green-blind)
#0F1C33
Tritanopia (blue-blind)
#340C1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #320434;
/* rgb */ color: rgb(50, 4, 52);
/* oklch */ color: oklch(22.9% 0.097 326.3);
Tailwind
colors: {
  custom: {
    50: '#6c4a6c',
    500: '#320434',
    950: '#000000',
  },
}
SCSS
$custom: #320434;
$custom-light: #6c4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#320434",
  "rgb": {
    "r": 50,
    "g": 4,
    "b": 52
  },
  "hsl": {
    "h": 297.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22931,
    "c": 0.09701,
    "h": 326.3
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#320434
secondary
#21761E
accent
#FC2C35
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320434

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

Preview Lab → · Contrast checker → · Palette generator →

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