#321330#321330

#321330 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.7% C 0.067 H 329.9°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#321330
RGBrgb(50, 19, 48)
HSLhsl(304, 45%, 14%)
HSVhsv(304, 62%, 20%)
CMYKcmyk(0%, 62%, 4%, 80.4%)
CIE-LABlab(11.67, 20.62, -12.35)
CIE-LCHlch(11.67, 24.04, 329.09°)
OKLaboklab(24.71% 0.0582 -0.0338)
OKLCHoklch(24.71% 0.067 329.9)
XYZxyz(2.0817, 1.3574, 2.9481)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321330 #133215
analogous
#241332 #321330 #321320
triadic
#321330 #303213 #133032
tetradic
#321330 #322413 #133215 #132032
square
#321330 #322413 #133215 #132032
split-complementary
#321330 #203213 #133224
monochromatic
#160815 #160815 #321330 #5E245B #8B3585

Accessibility & contrast

On white

16.52
#321330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#321330 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321330
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321330#FFFFFF#000000##FFFFFF
##3213301.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111C31
Deuteranopia (green-blind)
#1A202F
Tritanopia (blue-blind)
#34161F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321330;
/* rgb */ color: rgb(50, 19, 48);
/* oklch */ color: oklch(24.7% 0.067 329.9);
Tailwind
colors: {
  custom: {
    50: '#6b5268',
    500: '#321330',
    950: '#000000',
  },
}
SCSS
$custom: #321330;
$custom-light: #6b5268;
$custom-dark: #000000;
JSON
{
  "hex": "#321330",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 303.871,
    "s": 44.928,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24708,
    "c": 0.06728,
    "h": 329.9
  },
  "luminance": 0.01357
}

Semantic roles & 50–950 ramp

primary
#321330
secondary
#376A3A
accent
#D55C53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #321330

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

Preview Lab → · Contrast checker → · Palette generator →

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