#32227D#32227D

#32227D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.145 H 283.4°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#32227D
RGBrgb(50, 34, 125)
HSLhsl(251, 57%, 31%)
HSVhsv(251, 73%, 49%)
CMYKcmyk(60%, 72.8%, 0%, 51%)
CIE-LABlab(21.22, 34.00, -49.03)
CIE-LCHlch(21.22, 59.67, 304.74°)
OKLaboklab(33.56% 0.0335 -0.1412)
OKLCHoklch(33.56% 0.145 283.4)
XYZxyz(5.5880, 3.3025, 19.7410)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#32227D #6D7D22
analogous
#223F7D #32227D #5F227D
triadic
#32227D #7D3222 #227D32
tetradic
#32227D #7D223F #6D7D22 #227D5F
square
#32227D #7D223F #6D7D22 #227D5F
split-complementary
#32227D #7D5F22 #3F7D22
monochromatic
#0C081D #1F154D #32227D #452FAD #624BCE

Accessibility & contrast

On white

12.65
#32227D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#32227D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #32227D
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##32227D#FFFFFF#000000##FFFFFF
##32227D1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003680
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#073A4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #32227d;
/* rgb */ color: rgb(50, 34, 125);
/* oklch */ color: oklch(33.6% 0.145 283.4);
Tailwind
colors: {
  custom: {
    50: '#735fa4',
    500: '#32227d',
    950: '#000000',
  },
}
SCSS
$custom: #32227d;
$custom-light: #735fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#32227d",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 125
  },
  "hsl": {
    "h": 250.549,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.1451,
    "h": 283.4
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#32227D
secondary
#9EB04B
accent
#E047C6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #32227D

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

Preview Lab → · Contrast checker → · Palette generator →

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