#321680#321680

#321680 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.162 H 285.0°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#321680
RGBrgb(50, 22, 128)
HSLhsl(256, 71%, 29%)
HSVhsv(256, 83%, 50%)
CMYKcmyk(60.9%, 82.8%, 0%, 49.8%)
CIE-LABlab(19.27, 41.35, -54.14)
CIE-LCHlch(19.27, 68.13, 307.37°)
OKLaboklab(32.28% 0.0417 -0.156)
OKLCHoklch(32.28% 0.162 285)
XYZxyz(5.4974, 2.8101, 20.6706)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321680 #648016
analogous
#162F80 #321680 #671680
triadic
#321680 #803216 #168032
tetradic
#321680 #80162F #648016 #168067
square
#321680 #80162F #648016 #168067
split-complementary
#321680 #806716 #2F8016
monochromatic
#0A041A #1E0D4C #321680 #461FB4 #6134DC

Accessibility & contrast

On white

13.44
#321680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#321680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321680
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321680#FFFFFF#000000##FFFFFF
##3216801.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#03364B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #321680;
/* rgb */ color: rgb(50, 22, 128);
/* oklch */ color: oklch(32.3% 0.162 285.0);
Tailwind
colors: {
  custom: {
    50: '#7558a6',
    500: '#321680',
    950: '#000000',
  },
}
SCSS
$custom: #321680;
$custom-light: #7558a6;
$custom-dark: #000000;
JSON
{
  "hex": "#321680",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 255.849,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.1615,
    "h": 285
  },
  "luminance": 0.0281
}

Semantic roles & 50–950 ramp

primary
#321680
secondary
#95B53D
accent
#ED3ABE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #321680

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

Preview Lab → · Contrast checker → · Palette generator →

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