#322272#322272

#322272 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.130 H 285.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#322272
RGBrgb(50, 34, 114)
HSLhsl(252, 54%, 29%)
HSVhsv(252, 70%, 45%)
CMYKcmyk(56.1%, 70.2%, 0%, 55.3%)
CIE-LABlab(20.19, 30.40, -43.67)
CIE-LCHlch(20.19, 53.21, 304.84°)
OKLaboklab(32.51% 0.0355 -0.1255)
OKLCHoklch(32.51% 0.13 285.8)
XYZxyz(4.9238, 3.0368, 16.2430)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322272 #627222
analogous
#223A72 #322272 #5A2272
triadic
#322272 #723222 #227232
tetradic
#322272 #72223A #627222 #22725A
square
#322272 #72223A #627222 #22725A
split-complementary
#322272 #725A22 #3A7222
monochromatic
#0A0718 #1D1443 #322272 #4730A1 #6046C8

Accessibility & contrast

On white

13.06
#322272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322272
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322272#FFFFFF#000000##FFFFFF
##3222721.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#173647
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322272;
/* rgb */ color: rgb(50, 34, 114);
/* oklch */ color: oklch(32.5% 0.130 285.8);
Tailwind
colors: {
  custom: {
    50: '#715e9b',
    500: '#322272',
    950: '#000000',
  },
}
SCSS
$custom: #322272;
$custom-light: #715e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#322272",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 252,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32506,
    "c": 0.13039,
    "h": 285.8
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#322272
secondary
#93A54B
accent
#DD4AC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322272

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

Preview Lab → · Contrast checker → · Palette generator →

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