#321446#321446

#321446 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.4% C 0.092 H 309.0°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#321446
RGBrgb(50, 20, 70)
HSLhsl(276, 56%, 18%)
HSVhsv(276, 71%, 27%)
CMYKcmyk(28.6%, 71.4%, 0%, 72.5%)
CIE-LABlab(13.36, 25.48, -25.35)
CIE-LCHlch(13.36, 35.94, 315.15°)
OKLaboklab(26.41% 0.0581 -0.0716)
OKLCHoklch(26.41% 0.092 309)
XYZxyz(2.6708, 1.6207, 5.9653)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321446 #284614
analogous
#191446 #321446 #461441
triadic
#321446 #463214 #144632
tetradic
#321446 #461914 #284614 #144146
square
#321446 #461914 #284614 #144146
split-complementary
#321446 #414614 #144619
monochromatic
#110718 #110718 #321446 #542276 #762FA5

Accessibility & contrast

On white

15.86
#321446 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321446 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321446
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321446#FFFFFF#000000##FFFFFF
##3214461.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#0C2345
Tritanopia (blue-blind)
#2F1E2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321446;
/* rgb */ color: rgb(50, 20, 70);
/* oklch */ color: oklch(26.4% 0.092 309.0);
Tailwind
colors: {
  custom: {
    50: '#6c547a',
    500: '#321446',
    950: '#000000',
  },
}
SCSS
$custom: #321446;
$custom-light: #6c547a;
$custom-dark: #000000;
JSON
{
  "hex": "#321446",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 70
  },
  "hsl": {
    "h": 276,
    "s": 55.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26411,
    "c": 0.09215,
    "h": 309
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#321446
secondary
#547E38
accent
#DF4985
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070309
muted
#7A787B

Preview Lab

Preview with #321446

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

Preview Lab → · Contrast checker → · Palette generator →

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