#322180#322180

#322180 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.150 H 283.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#322180
RGBrgb(50, 33, 128)
HSLhsl(251, 59%, 32%)
HSVhsv(251, 74%, 50%)
CMYKcmyk(60.9%, 74.2%, 0%, 49.8%)
CIE-LABlab(21.30, 35.57, -50.80)
CIE-LCHlch(21.30, 62.01, 305.00°)
OKLaboklab(33.71% 0.0337 -0.1463)
OKLCHoklch(33.71% 0.15 283)
XYZxyz(5.7543, 3.3240, 20.7563)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322180 #6F8021
analogous
#214080 #322180 #622180
triadic
#322180 #803221 #218032
tetradic
#322180 #802140 #6F8021 #218062
square
#322180 #802140 #6F8021 #218062
split-complementary
#322180 #806221 #408021
monochromatic
#0C081F #1F144F #322180 #452EB1 #634BD1

Accessibility & contrast

On white

12.61
#322180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#322180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322180
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322180#FFFFFF#000000##FFFFFF
##3221801.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#013B4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #322180;
/* rgb */ color: rgb(50, 33, 128);
/* oklch */ color: oklch(33.7% 0.150 283.0);
Tailwind
colors: {
  custom: {
    50: '#745ea6',
    500: '#322180',
    950: '#000000',
  },
}
SCSS
$custom: #322180;
$custom-light: #745ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#322180",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 250.737,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33705,
    "c": 0.15019,
    "h": 283
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#322180
secondary
#A0B34A
accent
#E246C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #322180

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

Preview Lab → · Contrast checker → · Palette generator →

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