#321547#321547

#321547 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.092 H 308.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#321547
RGBrgb(50, 21, 71)
HSLhsl(275, 54%, 18%)
HSVhsv(275, 70%, 28%)
CMYKcmyk(29.6%, 70.4%, 0%, 72.2%)
CIE-LABlab(13.65, 25.16, -25.57)
CIE-LCHlch(13.65, 35.88, 314.53°)
OKLaboklab(26.65% 0.0566 -0.0722)
OKLCHoklch(26.65% 0.092 308.1)
XYZxyz(2.7207, 1.6694, 6.1389)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321547 #2A4715
analogous
#191547 #321547 #471543
triadic
#321547 #473215 #154732
tetradic
#321547 #471915 #2A4715 #154347
square
#321547 #471915 #2A4715 #154347
split-complementary
#321547 #434715 #154719
monochromatic
#110718 #110718 #321547 #532376 #7531A5

Accessibility & contrast

On white

15.74
#321547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#321547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321547
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321547#FFFFFF#000000##FFFFFF
##3215471.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#0C2346
Tritanopia (blue-blind)
#2F1F2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321547;
/* rgb */ color: rgb(50, 21, 71);
/* oklch */ color: oklch(26.6% 0.092 308.1);
Tailwind
colors: {
  custom: {
    50: '#6c547a',
    500: '#321547',
    950: '#000000',
  },
}
SCSS
$custom: #321547;
$custom-light: #6c547a;
$custom-dark: #000000;
JSON
{
  "hex": "#321547",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 274.8,
    "s": 54.348,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26646,
    "c": 0.09176,
    "h": 308.1
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#321547
secondary
#567F39
accent
#DE4A88
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321547

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

Preview Lab → · Contrast checker → · Palette generator →

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