#322370#322370

#322370 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.126 H 286.0°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#322370
RGBrgb(50, 35, 112)
HSLhsl(252, 52%, 29%)
HSVhsv(252, 69%, 44%)
CMYKcmyk(55.4%, 68.8%, 0%, 56.1%)
CIE-LABlab(20.24, 29.11, -42.30)
CIE-LCHlch(20.24, 51.35, 304.54°)
OKLaboklab(32.49% 0.0347 -0.1214)
OKLCHoklch(32.49% 0.126 286)
XYZxyz(4.8402, 3.0498, 15.6597)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322370 #617023
analogous
#233B70 #322370 #592370
triadic
#322370 #703223 #237032
tetradic
#322370 #70233B #617023 #237059
square
#322370 #70233B #617023 #237059
split-complementary
#322370 #705923 #3B7023
monochromatic
#0A0717 #1D1441 #322370 #47329F #6048C6

Accessibility & contrast

On white

13.04
#322370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #322370
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322370#FFFFFF#000000##FFFFFF
##3223701.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #322370;
/* rgb */ color: rgb(50, 35, 112);
/* oklch */ color: oklch(32.5% 0.126 286.0);
Tailwind
colors: {
  custom: {
    50: '#715f9a',
    500: '#322370',
    950: '#000000',
  },
}
SCSS
$custom: #322370;
$custom-light: #715f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#322370",
  "rgb": {
    "r": 50,
    "g": 35,
    "b": 112
  },
  "hsl": {
    "h": 251.688,
    "s": 52.381,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32488,
    "c": 0.1263,
    "h": 286
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#322370
secondary
#92A34C
accent
#DC4CC0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322370

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

Preview Lab → · Contrast checker → · Palette generator →

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