#322470#322470

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

Color values

HEX#322470
RGBrgb(50, 36, 112)
HSLhsl(251, 51%, 29%)
HSVhsv(251, 68%, 44%)
CMYKcmyk(55.4%, 67.9%, 0%, 56.1%)
CIE-LABlab(20.48, 28.48, -41.92)
CIE-LCHlch(20.48, 50.68, 304.19°)
OKLaboklab(32.66% 0.0337 -0.1203)
OKLCHoklch(32.66% 0.125 285.6)
XYZxyz(4.8700, 3.1095, 15.6697)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322470 #627024
analogous
#243C70 #322470 #582470
triadic
#322470 #703224 #247032
tetradic
#322470 #70243C #627024 #247058
square
#322470 #70243C #627024 #247058
split-complementary
#322470 #705824 #3C7024
monochromatic
#0A0717 #1D1542 #322470 #47339E #604AC5

Accessibility & contrast

On white

12.95
#322470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322470
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322470#FFFFFF#000000##FFFFFF
##3224701.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003372
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#193746
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322470;
/* rgb */ color: rgb(50, 36, 112);
/* oklch */ color: oklch(32.7% 0.125 285.6);
Tailwind
colors: {
  custom: {
    50: '#715f9a',
    500: '#322470',
    950: '#000000',
  },
}
SCSS
$custom: #322470;
$custom-light: #715f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#322470",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 251.053,
    "s": 51.351,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32658,
    "c": 0.12493,
    "h": 285.6
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#322470
secondary
#93A34D
accent
#DB4DC1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #322470

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

Preview Lab → · Contrast checker → · Palette generator →

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