#322078#322078

#322078 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.141 H 284.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#322078
RGBrgb(50, 32, 120)
HSLhsl(252, 58%, 30%)
HSVhsv(252, 73%, 47%)
CMYKcmyk(58.3%, 73.3%, 0%, 52.9%)
CIE-LABlab(20.31, 33.56, -47.33)
CIE-LCHlch(20.31, 58.02, 305.34°)
OKLaboklab(32.76% 0.0363 -0.1362)
OKLCHoklch(32.76% 0.141 284.9)
XYZxyz(5.2210, 3.0669, 18.0825)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322078 #667820
analogous
#203A78 #322078 #5E2078
triadic
#322078 #783220 #207832
tetradic
#322078 #78203A #667820 #20785E
square
#322078 #78203A #667820 #20785E
split-complementary
#322078 #785E20 #3A7820
monochromatic
#0A0618 #1E1348 #322078 #462DA8 #6145CD

Accessibility & contrast

On white

13.02
#322078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#322078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322078
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322078#FFFFFF#000000##FFFFFF
##3220781.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337B
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#103749
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322078;
/* rgb */ color: rgb(50, 32, 120);
/* oklch */ color: oklch(32.8% 0.141 284.9);
Tailwind
colors: {
  custom: {
    50: '#725da0',
    500: '#322078',
    950: '#000000',
  },
}
SCSS
$custom: #322078;
$custom-light: #725da0;
$custom-dark: #000000;
JSON
{
  "hex": "#322078",
  "rgb": {
    "r": 50,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 252.273,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32764,
    "c": 0.14094,
    "h": 284.9
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#322078
secondary
#97AB48
accent
#E147C2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #322078

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

Preview Lab → · Contrast checker → · Palette generator →

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