#322274#322274

#322274 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.133 H 285.3°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#322274
RGBrgb(50, 34, 116)
HSLhsl(252, 55%, 29%)
HSVhsv(252, 71%, 45%)
CMYKcmyk(56.9%, 70.7%, 0%, 54.5%)
CIE-LABlab(20.37, 31.05, -44.66)
CIE-LCHlch(20.37, 54.40, 304.81°)
OKLaboklab(32.69% 0.0352 -0.1284)
OKLCHoklch(32.69% 0.133 285.3)
XYZxyz(5.0389, 3.0828, 16.8491)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322274 #647422
analogous
#223B74 #322274 #5B2274
triadic
#322274 #743222 #227432
tetradic
#322274 #74223B #647422 #22745B
square
#322274 #74223B #647422 #22745B
split-complementary
#322274 #745B22 #3B7422
monochromatic
#0A0718 #1E1445 #322274 #4630A3 #6147C9

Accessibility & contrast

On white

12.99
#322274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#322274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322274
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322274#FFFFFF#000000##FFFFFF
##3222741.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#153748
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322274;
/* rgb */ color: rgb(50, 34, 116);
/* oklch */ color: oklch(32.7% 0.133 285.3);
Tailwind
colors: {
  custom: {
    50: '#715e9d',
    500: '#322274',
    950: '#000000',
  },
}
SCSS
$custom: #322274;
$custom-light: #715e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#322274",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 251.707,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.1331,
    "h": 285.3
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#322274
secondary
#95A74B
accent
#DE4AC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322274

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

Preview Lab → · Contrast checker → · Palette generator →

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