#322474#322474

#322474 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.130 H 284.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#322474
RGBrgb(50, 36, 116)
HSLhsl(251, 53%, 30%)
HSVhsv(251, 69%, 45%)
CMYKcmyk(56.9%, 69%, 0%, 54.5%)
CIE-LABlab(20.83, 29.81, -43.92)
CIE-LCHlch(20.83, 53.08, 304.17°)
OKLaboklab(33.02% 0.0331 -0.1262)
OKLCHoklch(33.02% 0.13 284.7)
XYZxyz(5.0977, 3.2005, 16.8688)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322474 #667424
analogous
#243E74 #322474 #5A2474
triadic
#322474 #743224 #247432
tetradic
#322474 #74243E #667424 #24745A
square
#322474 #74243E #667424 #24745A
split-complementary
#322474 #745A24 #3E7424
monochromatic
#0A0717 #1E1645 #322474 #4632A3 #614BC7

Accessibility & contrast

On white

12.80
#322474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#322474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322474
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322474#FFFFFF#000000##FFFFFF
##3224741.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#153848
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #322474;
/* rgb */ color: rgb(50, 36, 116);
/* oklch */ color: oklch(33.0% 0.130 284.7);
Tailwind
colors: {
  custom: {
    50: '#71609d',
    500: '#322474',
    950: '#000000',
  },
}
SCSS
$custom: #322474;
$custom-light: #71609d;
$custom-dark: #000000;
JSON
{
  "hex": "#322474",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 250.5,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33023,
    "c": 0.13046,
    "h": 284.7
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#322474
secondary
#97A74D
accent
#DC4CC3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322474

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

Preview Lab → · Contrast checker → · Palette generator →

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