#321664#321664

#321664 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.127 H 293.3°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#321664
RGBrgb(50, 22, 100)
HSLhsl(262, 64%, 24%)
HSVhsv(262, 78%, 39%)
CMYKcmyk(50%, 78%, 0%, 60.8%)
CIE-LABlab(16.36, 32.98, -40.80)
CIE-LCHlch(16.36, 52.46, 308.95°)
OKLaboklab(29.38% 0.0504 -0.117)
OKLCHoklch(29.38% 0.127 293.3)
XYZxyz(3.9019, 2.1719, 12.2678)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321664 #486416
analogous
#162164 #321664 #591664
triadic
#321664 #643216 #166432
tetradic
#321664 #641621 #486416 #166459
square
#321664 #641621 #486416 #166459
split-complementary
#321664 #645916 #216416
monochromatic
#0D0619 #190B32 #321664 #4B2196 #642CC8

Accessibility & contrast

On white

14.64
#321664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#321664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321664
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321664#FFFFFF#000000##FFFFFF
##3216641.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#232B3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #321664;
/* rgb */ color: rgb(50, 22, 100);
/* oklch */ color: oklch(29.4% 0.127 293.3);
Tailwind
colors: {
  custom: {
    50: '#705691',
    500: '#321664',
    950: '#000000',
  },
}
SCSS
$custom: #321664;
$custom-light: #705691;
$custom-dark: #000000;
JSON
{
  "hex": "#321664",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 261.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29375,
    "c": 0.12737,
    "h": 293.3
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#321664
secondary
#789B3B
accent
#E741AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #321664

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

Preview Lab → · Contrast checker → · Palette generator →

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