#320335#320335

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

Color values

HEX#320335
RGBrgb(50, 3, 53)
HSLhsl(296, 89%, 11%)
HSVhsv(296, 94%, 21%)
CMYKcmyk(5.7%, 94.3%, 0%, 79.2%)
CIE-LABlab(8.99, 30.08, -20.23)
CIE-LCHlch(8.99, 36.25, 326.08°)
OKLaboklab(22.88% 0.0821 -0.0564)
OKLCHoklch(22.88% 0.1 325.5)
XYZxyz(1.9905, 1.0004, 3.4557)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320335 #063503
analogous
#190335 #320335 #35031F
triadic
#320335 #353203 #033532
tetradic
#320335 #351903 #063503 #031F35
square
#320335 #351903 #063503 #031F35
split-complementary
#320335 #1F3503 #033519
monochromatic
#1B021D #1B021D #320335 #69066F #9F0AA9

Accessibility & contrast

On white

17.50
#320335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320335
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320335#FFFFFF#000000##FFFFFF
##3203351.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001636
Deuteranopia (green-blind)
#0E1B34
Tritanopia (blue-blind)
#330C1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #320335;
/* rgb */ color: rgb(50, 3, 53);
/* oklch */ color: oklch(22.9% 0.100 325.5);
Tailwind
colors: {
  custom: {
    50: '#6c4a6c',
    500: '#320335',
    950: '#000000',
  },
}
SCSS
$custom: #320335;
$custom-light: #6c4a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#320335",
  "rgb": {
    "r": 50,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 296.4,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22881,
    "c": 0.0996,
    "h": 325.5
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#320335
secondary
#21781C
accent
#FF2936
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #320335

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

Preview Lab → · Contrast checker → · Palette generator →

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