#32227A#32227A

#32227A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.141 H 284.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#32227A
RGBrgb(50, 34, 122)
HSLhsl(251, 56%, 31%)
HSVhsv(251, 72%, 48%)
CMYKcmyk(59%, 72.1%, 0%, 52.2%)
CIE-LABlab(20.93, 33.02, -47.59)
CIE-LCHlch(20.93, 57.92, 304.76°)
OKLaboklab(33.27% 0.0341 -0.1369)
OKLCHoklch(33.27% 0.141 284)
XYZxyz(5.3992, 3.2270, 18.7469)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32227A #6A7A22
analogous
#223E7A #32227A #5E227A
triadic
#32227A #7A3222 #227A32
tetradic
#32227A #7A223E #6A7A22 #227A5E
square
#32227A #7A223E #6A7A22 #227A5E
split-complementary
#32227A #7A5E22 #3E7A22
monochromatic
#0B071A #1E154A #32227A #462FAA #624ACD

Accessibility & contrast

On white

12.76
#32227A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#32227A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32227A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32227A#FFFFFF#000000##FFFFFF
##32227A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#0D394B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #32227a;
/* rgb */ color: rgb(50, 34, 122);
/* oklch */ color: oklch(33.3% 0.141 284.0);
Tailwind
colors: {
  custom: {
    50: '#735fa1',
    500: '#32227a',
    950: '#000000',
  },
}
SCSS
$custom: #32227a;
$custom-light: #735fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#32227a",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 122
  },
  "hsl": {
    "h": 250.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33266,
    "c": 0.14113,
    "h": 284
  },
  "luminance": 0.03227
}

Semantic roles & 50–950 ramp

primary
#32227A
secondary
#9BAD4B
accent
#E048C4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32227A

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

Preview Lab → · Contrast checker → · Palette generator →

#32227A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva