#321041#321041

#321041 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.093 H 313.7°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#321041
RGBrgb(50, 16, 65)
HSLhsl(282, 60%, 16%)
HSVhsv(282, 75%, 25%)
CMYKcmyk(23.1%, 75.4%, 0%, 74.5%)
CIE-LABlab(12.16, 26.42, -23.76)
CIE-LCHlch(12.16, 35.54, 318.03°)
OKLaboklab(25.43% 0.064 -0.0669)
OKLCHoklch(25.43% 0.093 313.7)
XYZxyz(2.4547, 1.4304, 5.1468)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321041 #1F4110
analogous
#191041 #321041 #411037
triadic
#321041 #413210 #104132
tetradic
#321041 #411910 #1F4110 #103741
square
#321041 #411910 #1F4110 #103741
split-complementary
#321041 #374110 #104119
monochromatic
#130619 #130619 #321041 #581C72 #7E28A3

Accessibility & contrast

On white

16.33
#321041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321041
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321041#FFFFFF#000000##FFFFFF
##3210411.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E42
Deuteranopia (green-blind)
#0D2140
Tritanopia (blue-blind)
#311A26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #321041;
/* rgb */ color: rgb(50, 16, 65);
/* oklch */ color: oklch(25.4% 0.093 313.7);
Tailwind
colors: {
  custom: {
    50: '#6c5176',
    500: '#321041',
    950: '#000000',
  },
}
SCSS
$custom: #321041;
$custom-light: #6c5176;
$custom-dark: #000000;
JSON
{
  "hex": "#321041",
  "rgb": {
    "r": 50,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 281.633,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25427,
    "c": 0.09255,
    "h": 313.7
  },
  "luminance": 0.0143
}

Semantic roles & 50–950 ramp

primary
#321041
secondary
#487B32
accent
#E44475
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #321041

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

Preview Lab → · Contrast checker → · Palette generator →

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