#321335#321335

#321335 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.073 H 324.0°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#321335
RGBrgb(50, 19, 53)
HSLhsl(295, 47%, 14%)
HSVhsv(295, 64%, 21%)
CMYKcmyk(5.7%, 64.2%, 0%, 79.2%)
CIE-LABlab(11.96, 21.76, -15.51)
CIE-LCHlch(11.96, 26.72, 324.51°)
OKLaboklab(25.02% 0.059 -0.0429)
OKLCHoklch(25.02% 0.073 324)
XYZxyz(2.1908, 1.4010, 3.5225)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321335 #163513
analogous
#211335 #321335 #351327
triadic
#321335 #353213 #133532
tetradic
#321335 #352113 #163513 #132735
square
#321335 #352113 #163513 #132735
split-complementary
#321335 #273513 #133521
monochromatic
#150817 #150817 #321335 #5D2362 #87338F

Accessibility & contrast

On white

16.40
#321335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#321335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321335
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321335#FFFFFF#000000##FFFFFF
##3213351.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D36
Deuteranopia (green-blind)
#182134
Tritanopia (blue-blind)
#331721
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321335;
/* rgb */ color: rgb(50, 19, 53);
/* oklch */ color: oklch(25.0% 0.073 324.0);
Tailwind
colors: {
  custom: {
    50: '#6b526c',
    500: '#321335',
    950: '#000000',
  },
}
SCSS
$custom: #321335;
$custom-light: #6b526c;
$custom-dark: #000000;
JSON
{
  "hex": "#321335",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 294.706,
    "s": 47.222,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2502,
    "c": 0.07297,
    "h": 324
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#321335
secondary
#3C6D37
accent
#D7515D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #321335

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

Preview Lab → · Contrast checker → · Palette generator →

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