#322164#322164

#322164 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.1% C 0.112 H 290.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#322164
RGBrgb(50, 33, 100)
HSLhsl(255, 50%, 26%)
HSVhsv(255, 67%, 39%)
CMYKcmyk(50%, 67%, 0%, 60.8%)
CIE-LABlab(18.74, 26.45, -36.93)
CIE-LCHlch(18.74, 45.42, 305.62°)
OKLaboklab(31.08% 0.0384 -0.1056)
OKLCHoklch(31.08% 0.112 290)
XYZxyz(4.1588, 2.6858, 12.3534)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322164 #536421
analogous
#213164 #322164 #532164
triadic
#322164 #643221 #216432
tetradic
#322164 #642131 #536421 #216453
square
#322164 #642131 #536421 #216453
split-complementary
#322164 #645321 #316421
monochromatic
#0C0817 #1B1236 #322164 #493092 #6040C0

Accessibility & contrast

On white

13.66
#322164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#322164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322164
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322164#FFFFFF#000000##FFFFFF
##3221641.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002C63
Tritanopia (blue-blind)
#22313F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322164;
/* rgb */ color: rgb(50, 33, 100);
/* oklch */ color: oklch(31.1% 0.112 290.0);
Tailwind
colors: {
  custom: {
    50: '#6f5d91',
    500: '#322164',
    950: '#000000',
  },
}
SCSS
$custom: #322164;
$custom-light: #6f5d91;
$custom-dark: #000000;
JSON
{
  "hex": "#322164",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 255.224,
    "s": 50.376,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31076,
    "c": 0.11239,
    "h": 290
  },
  "luminance": 0.02686
}

Semantic roles & 50–950 ramp

primary
#322164
secondary
#849849
accent
#DA4EB6
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #322164

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

Preview Lab → · Contrast checker → · Palette generator →

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