#321676#321676

#321676 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.150 H 287.5°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#321676
RGBrgb(50, 22, 118)
HSLhsl(258, 69%, 27%)
HSVhsv(258, 81%, 46%)
CMYKcmyk(57.6%, 81.4%, 0%, 53.7%)
CIE-LABlab(18.19, 38.37, -49.53)
CIE-LCHlch(18.19, 62.66, 307.76°)
OKLaboklab(31.21% 0.0451 -0.1426)
OKLCHoklch(31.21% 0.15 287.5)
XYZxyz(4.8713, 2.5597, 17.3734)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321676 #5A7616
analogous
#162A76 #321676 #621676
triadic
#321676 #763216 #167632
tetradic
#321676 #76162A #5A7616 #167662
square
#321676 #76162A #5A7616 #167662
split-complementary
#321676 #766216 #2A7616
monochromatic
#0B051A #1C0C42 #321676 #4820AA #602ED8

Accessibility & contrast

On white

13.89
#321676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#321676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321676
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321676#FFFFFF#000000##FFFFFF
##3216761.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#143246
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #321676;
/* rgb */ color: rgb(50, 22, 118);
/* oklch */ color: oklch(31.2% 0.150 287.5);
Tailwind
colors: {
  custom: {
    50: '#73579e',
    500: '#321676',
    950: '#000000',
  },
}
SCSS
$custom: #321676;
$custom-light: #73579e;
$custom-dark: #000000;
JSON
{
  "hex": "#321676",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 257.5,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31206,
    "c": 0.14952,
    "h": 287.5
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#321676
secondary
#8BAC3C
accent
#EB3CB8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #321676

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

Preview Lab → · Contrast checker → · Palette generator →

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