#3219A1#3219A1

#3219A1 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.3% C 0.198 H 278.4°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3219A1
RGBrgb(50, 25, 161)
HSLhsl(251, 73%, 36%)
HSVhsv(251, 84%, 63%)
CMYKcmyk(68.9%, 84.5%, 0%, 36.9%)
CIE-LABlab(23.49, 49.75, -67.66)
CIE-LCHlch(23.49, 83.98, 306.33°)
OKLaboklab(36.3% 0.029 -0.1954)
OKLCHoklch(36.3% 0.198 278.4)
XYZxyz(8.0940, 3.9459, 34.0464)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3219A1 #88A119
analogous
#1944A1 #3219A1 #7619A1
triadic
#3219A1 #A13219 #19A132
tetradic
#3219A1 #A11944 #88A119 #19A176
square
#3219A1 #A11944 #88A119 #19A176
split-complementary
#3219A1 #A17619 #44A119
monochromatic
#110937 #22116C #3219A1 #4221D6 #6C50E4

Accessibility & contrast

On white

11.74
#3219A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3219A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3219A1
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3219A1#FFFFFF#000000##FFFFFF
##3219A11.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00329F
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3219a1;
/* rgb */ color: rgb(50, 25, 161);
/* oklch */ color: oklch(36.3% 0.198 278.4);
Tailwind
colors: {
  custom: {
    50: '#7b5cbe',
    500: '#3219a1',
    950: '#000000',
  },
}
SCSS
$custom: #3219a1;
$custom-light: #7b5cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3219a1",
  "rgb": {
    "r": 50,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 251.029,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.363,
    "c": 0.19754,
    "h": 278.4
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#3219A1
secondary
#B0C64F
accent
#F038CE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3219A1

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

Preview Lab → · Contrast checker → · Palette generator →

#3219A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva