#321689#321689

#321689 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.172 H 283.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#321689
RGBrgb(50, 22, 137)
HSLhsl(255, 72%, 31%)
HSVhsv(255, 84%, 54%)
CMYKcmyk(63.5%, 83.9%, 0%, 46.3%)
CIE-LABlab(20.27, 44.01, -58.16)
CIE-LCHlch(20.27, 72.93, 307.12°)
OKLaboklab(33.27% 0.0386 -0.1677)
OKLCHoklch(33.27% 0.172 283)
XYZxyz(6.1163, 3.0576, 23.9299)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321689 #6D8916
analogous
#163389 #321689 #6B1689
triadic
#321689 #893216 #168932
tetradic
#321689 #891633 #6D8916 #16896B
square
#321689 #891633 #6D8916 #16896B
split-complementary
#321689 #896B16 #338916
monochromatic
#0C0520 #1F0E54 #321689 #451EBE #623ADF

Accessibility & contrast

On white

13.03
#321689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#321689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321689
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321689#FFFFFF#000000##FFFFFF
##3216891.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #321689;
/* rgb */ color: rgb(50, 22, 137);
/* oklch */ color: oklch(33.3% 0.172 283.0);
Tailwind
colors: {
  custom: {
    50: '#7759ad',
    500: '#321689',
    950: '#000000',
  },
}
SCSS
$custom: #321689;
$custom-light: #7759ad;
$custom-dark: #000000;
JSON
{
  "hex": "#321689",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 254.609,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33273,
    "c": 0.1721,
    "h": 283
  },
  "luminance": 0.03058
}

Semantic roles & 50–950 ramp

primary
#321689
secondary
#9EBD3E
accent
#EF39C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #321689

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

Preview Lab → · Contrast checker → · Palette generator →

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