#322160#322160

#322160 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.7% C 0.107 H 291.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#322160
RGBrgb(50, 33, 96)
HSLhsl(256, 49%, 25%)
HSVhsv(256, 66%, 38%)
CMYKcmyk(47.9%, 65.6%, 0%, 62.4%)
CIE-LABlab(18.41, 25.16, -34.82)
CIE-LCHlch(18.41, 42.96, 305.85°)
OKLaboklab(30.73% 0.0387 -0.0994)
OKLCHoklch(30.73% 0.107 291.2)
XYZxyz(3.9700, 2.6102, 11.3587)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322160 #4F6021
analogous
#213060 #322160 #512160
triadic
#322160 #603221 #216032
tetradic
#322160 #602130 #4F6021 #216051
square
#322160 #602130 #4F6021 #216051
split-complementary
#322160 #605121 #306021
monochromatic
#0C0817 #1A1132 #322160 #4A318E #6140BB

Accessibility & contrast

On white

13.80
#322160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#322160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322160
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322160#FFFFFF#000000##FFFFFF
##3221601.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#002C5F
Tritanopia (blue-blind)
#242F3D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #322160;
/* rgb */ color: rgb(50, 33, 96);
/* oklch */ color: oklch(30.7% 0.107 291.2);
Tailwind
colors: {
  custom: {
    50: '#6e5d8e',
    500: '#322160',
    950: '#000000',
  },
}
SCSS
$custom: #322160;
$custom-light: #6e5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#322160",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 96
  },
  "hsl": {
    "h": 256.19,
    "s": 48.837,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30732,
    "c": 0.1067,
    "h": 291.2
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#322160
secondary
#809449
accent
#D84FB3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #322160

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

Preview Lab → · Contrast checker → · Palette generator →

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