#321534#321534

#321534 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.3% C 0.068 H 324.9°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#321534
RGBrgb(50, 21, 52)
HSLhsl(296, 42%, 14%)
HSVhsv(296, 60%, 20%)
CMYKcmyk(3.8%, 59.6%, 0%, 79.6%)
CIE-LABlab(12.37, 20.29, -14.16)
CIE-LCHlch(12.37, 24.74, 325.09°)
OKLaboklab(25.3% 0.0555 -0.039)
OKLCHoklch(25.3% 0.068 324.9)
XYZxyz(2.2033, 1.4625, 3.4144)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321534 #173415
analogous
#231534 #321534 #341527
triadic
#321534 #343215 #153432
tetradic
#321534 #342315 #173415 #152734
square
#321534 #342315 #173415 #152734
split-complementary
#321534 #273415 #153423
monochromatic
#150916 #150916 #321534 #5C2760 #86388B

Accessibility & contrast

On white

16.25
#321534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#321534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321534
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321534#FFFFFF#000000##FFFFFF
##3215341.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111E35
Deuteranopia (green-blind)
#1A2233
Tritanopia (blue-blind)
#331922
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #321534;
/* rgb */ color: rgb(50, 21, 52);
/* oklch */ color: oklch(25.3% 0.068 324.9);
Tailwind
colors: {
  custom: {
    50: '#6b546b',
    500: '#321534',
    950: '#000000',
  },
}
SCSS
$custom: #321534;
$custom-light: #6b546b;
$custom-dark: #000000;
JSON
{
  "hex": "#321534",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 52
  },
  "hsl": {
    "h": 296.129,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25297,
    "c": 0.06781,
    "h": 324.9
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#321534
secondary
#3D6B3A
accent
#D2565E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #321534

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

Preview Lab → · Contrast checker → · Palette generator →

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