#321685#321685

#321685 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.167 H 283.8°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#321685
RGBrgb(50, 22, 133)
HSLhsl(255, 72%, 30%)
HSVhsv(255, 83%, 52%)
CMYKcmyk(62.4%, 83.5%, 0%, 47.8%)
CIE-LABlab(19.82, 42.83, -56.39)
CIE-LCHlch(19.82, 70.81, 307.22°)
OKLaboklab(32.83% 0.04 -0.1626)
OKLCHoklch(32.83% 0.167 283.8)
XYZxyz(5.8346, 2.9450, 22.4467)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321685 #698516
analogous
#163185 #321685 #691685
triadic
#321685 #853216 #168532
tetradic
#321685 #851631 #698516 #168569
square
#321685 #851631 #698516 #168569
split-complementary
#321685 #856916 #318516
monochromatic
#0B051C #1E0D50 #321685 #461FBA #6137DE

Accessibility & contrast

On white

13.22
#321685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#321685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321685
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321685#FFFFFF#000000##FFFFFF
##3216851.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#00384E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #321685;
/* rgb */ color: rgb(50, 22, 133);
/* oklch */ color: oklch(32.8% 0.167 283.8);
Tailwind
colors: {
  custom: {
    50: '#7658aa',
    500: '#321685',
    950: '#000000',
  },
}
SCSS
$custom: #321685;
$custom-light: #7658aa;
$custom-dark: #000000;
JSON
{
  "hex": "#321685",
  "rgb": {
    "r": 50,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 255.135,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32829,
    "c": 0.1674,
    "h": 283.8
  },
  "luminance": 0.02945
}

Semantic roles & 50–950 ramp

primary
#321685
secondary
#9AB93E
accent
#EE39C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #321685

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

Preview Lab → · Contrast checker → · Palette generator →

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