#321341#321341

#321341 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.088 H 313.0°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#321341
RGBrgb(50, 19, 65)
HSLhsl(280, 55%, 16%)
HSVhsv(280, 71%, 25%)
CMYKcmyk(23.1%, 70.8%, 0%, 74.5%)
CIE-LABlab(12.77, 24.73, -22.79)
CIE-LCHlch(12.77, 33.63, 317.35°)
OKLaboklab(25.87% 0.0597 -0.064)
OKLCHoklch(25.87% 0.088 313)
XYZxyz(2.5022, 1.5256, 5.1627)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321341 #224113
analogous
#1B1341 #321341 #411339
triadic
#321341 #413213 #134132
tetradic
#321341 #411B13 #224113 #133941
square
#321341 #411B13 #224113 #133941
split-complementary
#321341 #394113 #13411B
monochromatic
#120718 #120718 #321341 #562170 #7B2FA0

Accessibility & contrast

On white

16.09
#321341 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#321341 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321341
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321341#FFFFFF#000000##FFFFFF
##3213411.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031F42
Deuteranopia (green-blind)
#102240
Tritanopia (blue-blind)
#301C27
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #321341;
/* rgb */ color: rgb(50, 19, 65);
/* oklch */ color: oklch(25.9% 0.088 313.0);
Tailwind
colors: {
  custom: {
    50: '#6c5376',
    500: '#321341',
    950: '#000000',
  },
}
SCSS
$custom: #321341;
$custom-light: #6c5376;
$custom-dark: #000000;
JSON
{
  "hex": "#321341",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 65
  },
  "hsl": {
    "h": 280.435,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25868,
    "c": 0.08756,
    "h": 313
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#321341
secondary
#4C7A36
accent
#DE4A7A
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #321341

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

Preview Lab → · Contrast checker → · Palette generator →

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