#322279#322279

#322279 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.140 H 284.2°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#322279
RGBrgb(50, 34, 121)
HSLhsl(251, 56%, 30%)
HSVhsv(251, 72%, 47%)
CMYKcmyk(58.7%, 71.9%, 0%, 52.5%)
CIE-LABlab(20.84, 32.69, -47.11)
CIE-LCHlch(20.84, 57.34, 304.76°)
OKLaboklab(33.17% 0.0343 -0.1355)
OKLCHoklch(33.17% 0.14 284.2)
XYZxyz(5.3376, 3.2023, 18.4223)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322279 #697922
analogous
#223E79 #322279 #5D2279
triadic
#322279 #793222 #227932
tetradic
#322279 #79223E #697922 #22795D
square
#322279 #79223E #697922 #22795D
split-complementary
#322279 #795D22 #3E7922
monochromatic
#0B0719 #1E1549 #322279 #462FA9 #6149CC

Accessibility & contrast

On white

12.80
#322279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#322279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322279
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322279#FFFFFF#000000##FFFFFF
##3222791.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#0F394A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322279;
/* rgb */ color: rgb(50, 34, 121);
/* oklch */ color: oklch(33.2% 0.140 284.2);
Tailwind
colors: {
  custom: {
    50: '#725ea1',
    500: '#322279',
    950: '#000000',
  },
}
SCSS
$custom: #322279;
$custom-light: #725ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#322279",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 251.034,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.13981,
    "h": 284.2
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#322279
secondary
#9AAC4B
accent
#DF48C4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #322279

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

Preview Lab → · Contrast checker → · Palette generator →

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