#322270#322270

#322270 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.3% C 0.128 H 286.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#322270
RGBrgb(50, 34, 112)
HSLhsl(252, 53%, 29%)
HSVhsv(252, 70%, 44%)
CMYKcmyk(55.4%, 69.6%, 0%, 56.1%)
CIE-LABlab(20.01, 29.74, -42.68)
CIE-LCHlch(20.01, 52.02, 304.87°)
OKLaboklab(32.32% 0.0358 -0.1225)
OKLCHoklch(32.32% 0.128 286.3)
XYZxyz(4.8112, 2.9918, 15.6500)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322270 #607022
analogous
#223970 #322270 #592270
triadic
#322270 #703222 #227032
tetradic
#322270 #702239 #607022 #227059
square
#322270 #702239 #607022 #227059
split-complementary
#322270 #705922 #397022
monochromatic
#0A0717 #1D1441 #322270 #47309F #6046C7

Accessibility & contrast

On white

13.14
#322270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#322270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322270
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322270#FFFFFF#000000##FFFFFF
##3222701.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#193646
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #322270;
/* rgb */ color: rgb(50, 34, 112);
/* oklch */ color: oklch(32.3% 0.128 286.3);
Tailwind
colors: {
  custom: {
    50: '#715e9a',
    500: '#322270',
    950: '#000000',
  },
}
SCSS
$custom: #322270;
$custom-light: #715e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#322270",
  "rgb": {
    "r": 50,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 252.308,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.12765,
    "h": 286.3
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#322270
secondary
#91A34A
accent
#DD4BBF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #322270

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

Preview Lab → · Contrast checker → · Palette generator →

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