#322183#322183

#322183 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.154 H 282.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#322183
RGBrgb(50, 33, 131)
HSLhsl(250, 60%, 32%)
HSVhsv(250, 75%, 51%)
CMYKcmyk(61.8%, 74.8%, 0%, 48.6%)
CIE-LABlab(21.59, 36.54, -52.21)
CIE-LCHlch(21.59, 63.72, 304.99°)
OKLaboklab(34.01% 0.0331 -0.1505)
OKLCHoklch(34.01% 0.154 282.4)
XYZxyz(5.9547, 3.4041, 21.8116)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322183 #728321
analogous
#214183 #322183 #632183
triadic
#322183 #833221 #218332
tetradic
#322183 #832141 #728321 #218363
square
#322183 #832141 #728321 #218363
split-complementary
#322183 #836321 #418321
monochromatic
#0D0821 #1F1552 #322183 #452DB4 #644CD2

Accessibility & contrast

On white

12.49
#322183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#322183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322183
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322183#FFFFFF#000000##FFFFFF
##3221831.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003C50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322183;
/* rgb */ color: rgb(50, 33, 131);
/* oklch */ color: oklch(34.0% 0.154 282.4);
Tailwind
colors: {
  custom: {
    50: '#745ea8',
    500: '#322183',
    950: '#000000',
  },
}
SCSS
$custom: #322183;
$custom-light: #745ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#322183",
  "rgb": {
    "r": 50,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 250.408,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34006,
    "c": 0.15406,
    "h": 282.4
  },
  "luminance": 0.03405
}

Semantic roles & 50–950 ramp

primary
#322183
secondary
#A3B54B
accent
#E345C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #322183

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

Preview Lab → · Contrast checker → · Palette generator →

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