#322280#322280

#322280 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.149 H 282.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#322280
RGBrgb(50, 34, 128)
HSLhsl(250, 58%, 32%)
HSVhsv(250, 73%, 50%)
CMYKcmyk(60.9%, 73.4%, 0%, 49.8%)
CIE-LABlab(21.51, 34.98, -50.46)
CIE-LCHlch(21.51, 61.40, 304.74°)
OKLaboklab(33.85% 0.0329 -0.1453)
OKLCHoklch(33.85% 0.149 282.8)
XYZxyz(5.7825, 3.3803, 20.7656)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322280 #708022
analogous
#224180 #322280 #612280
triadic
#322280 #803222 #228032
tetradic
#322280 #802241 #708022 #228061
square
#322280 #802241 #708022 #228061
split-complementary
#322280 #806122 #418022
monochromatic
#0C081F #1F1550 #322280 #452FB0 #634DD0

Accessibility & contrast

On white

12.53
#322280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#322280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322280
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322280#FFFFFF#000000##FFFFFF
##3222801.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322280;
/* rgb */ color: rgb(50, 34, 128);
/* oklch */ color: oklch(33.9% 0.149 282.8);
Tailwind
colors: {
  custom: {
    50: '#745fa6',
    500: '#322280',
    950: '#000000',
  },
}
SCSS
$custom: #322280;
$custom-light: #745fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#322280",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 250.213,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.14903,
    "h": 282.8
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#322280
secondary
#A1B24B
accent
#E147C7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #322280

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

Preview Lab → · Contrast checker → · Palette generator →

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