#322282#322282

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

Color values

HEX#322282
RGBrgb(50, 34, 130)
HSLhsl(250, 59%, 32%)
HSVhsv(250, 74%, 51%)
CMYKcmyk(61.5%, 73.8%, 0%, 49%)
CIE-LABlab(21.70, 35.64, -51.40)
CIE-LCHlch(21.70, 62.54, 304.73°)
OKLaboklab(34.05% 0.0325 -0.1481)
OKLCHoklch(34.05% 0.152 282.4)
XYZxyz(5.9154, 3.4335, 21.4658)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322282 #728222
analogous
#224282 #322282 #622282
triadic
#322282 #823222 #228232
tetradic
#322282 #822242 #728222 #228262
square
#322282 #822242 #728222 #228262
split-complementary
#322282 #826222 #428222
monochromatic
#0D0921 #1F1551 #322282 #452FB3 #644ED1

Accessibility & contrast

On white

12.45
#322282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#322282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322282
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322282#FFFFFF#000000##FFFFFF
##3222821.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #322282;
/* rgb */ color: rgb(50, 34, 130);
/* oklch */ color: oklch(34.1% 0.152 282.4);
Tailwind
colors: {
  custom: {
    50: '#745fa7',
    500: '#322282',
    950: '#000000',
  },
}
SCSS
$custom: #322282;
$custom-light: #745fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#322282",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 250,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.15163,
    "h": 282.4
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#322282
secondary
#A3B44C
accent
#E246C8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #322282

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

Preview Lab → · Contrast checker → · Palette generator →

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