#322273#322273

#322273 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.6% C 0.132 H 285.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#322273
RGBrgb(50, 34, 115)
HSLhsl(252, 54%, 29%)
HSVhsv(252, 70%, 45%)
CMYKcmyk(56.5%, 70.4%, 0%, 54.9%)
CIE-LABlab(20.28, 30.72, -44.17)
CIE-LCHlch(20.28, 53.80, 304.82°)
OKLaboklab(32.6% 0.0353 -0.1269)
OKLCHoklch(32.6% 0.132 285.5)
XYZxyz(4.9810, 3.0597, 16.5444)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322273 #637322
analogous
#223B73 #322273 #5B2273
triadic
#322273 #733222 #227332
tetradic
#322273 #73223B #637322 #22735B
square
#322273 #73223B #637322 #22735B
split-complementary
#322273 #735B22 #3B7322
monochromatic
#0A0718 #1D1444 #322273 #4730A2 #6047C9

Accessibility & contrast

On white

13.03
#322273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#322273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322273
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322273#FFFFFF#000000##FFFFFF
##3222731.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#163747
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322273;
/* rgb */ color: rgb(50, 34, 115);
/* oklch */ color: oklch(32.6% 0.132 285.5);
Tailwind
colors: {
  custom: {
    50: '#715e9c',
    500: '#322273',
    950: '#000000',
  },
}
SCSS
$custom: #322273;
$custom-light: #715e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#322273",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 251.852,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.326,
    "c": 0.13174,
    "h": 285.5
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#322273
secondary
#94A64B
accent
#DE4AC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322273

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

Preview Lab → · Contrast checker → · Palette generator →

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