#321546#321546

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

Color values

HEX#321546
RGBrgb(50, 21, 70)
HSLhsl(276, 54%, 18%)
HSVhsv(276, 70%, 27%)
CMYKcmyk(28.6%, 70%, 0%, 72.5%)
CIE-LABlab(13.57, 24.89, -25.00)
CIE-LCHlch(13.57, 35.28, 314.87°)
OKLaboklab(26.57% 0.0566 -0.0706)
OKLCHoklch(26.57% 0.09 308.7)
XYZxyz(2.6888, 1.6567, 5.9713)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321546 #294615
analogous
#191546 #321546 #461541
triadic
#321546 #463215 #154632
tetradic
#321546 #461915 #294615 #154146
square
#321546 #461915 #294615 #154146
split-complementary
#321546 #414615 #154619
monochromatic
#110718 #110718 #321546 #542375 #7531A4

Accessibility & contrast

On white

15.77
#321546 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321546
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321546#FFFFFF#000000##FFFFFF
##3215461.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #321546;
/* rgb */ color: rgb(50, 21, 70);
/* oklch */ color: oklch(26.6% 0.090 308.7);
Tailwind
colors: {
  custom: {
    50: '#6c547a',
    500: '#321546',
    950: '#000000',
  },
}
SCSS
$custom: #321546;
$custom-light: #6c547a;
$custom-dark: #000000;
JSON
{
  "hex": "#321546",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 70
  },
  "hsl": {
    "h": 275.51,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26567,
    "c": 0.09047,
    "h": 308.7
  },
  "luminance": 0.01657
}

Semantic roles & 50–950 ramp

primary
#321546
secondary
#557E39
accent
#DD4B86
background
#F6F4F7
surface
#EBE8ED
border
#C6C4C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321546

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

Preview Lab → · Contrast checker → · Palette generator →

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