#3214A1#3214A1

#3214A1 is a dark, highly saturated violet. Relative luminance 0.038; OKLCH L 35.8% C 0.201 H 278.8°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#3214A1
RGBrgb(50, 20, 161)
HSLhsl(253, 78%, 35%)
HSVhsv(253, 88%, 63%)
CMYKcmyk(68.9%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.83, 51.72, -68.76)
CIE-LCHlch(22.83, 86.04, 306.95°)
OKLaboklab(35.85% 0.0308 -0.1985)
OKLCHoklch(35.85% 0.201 278.8)
XYZxyz(7.9965, 3.7509, 34.0139)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3214A1 #83A114
analogous
#143CA1 #3214A1 #7814A1
triadic
#3214A1 #A13214 #14A132
tetradic
#3214A1 #A1143C #83A114 #14A178
square
#3214A1 #A1143C #83A114 #14A178
split-complementary
#3214A1 #A17814 #3CA114
monochromatic
#100634 #210D6B #3214A1 #431BD7 #6947E8

Accessibility & contrast

On white

12.00
#3214A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3214A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3214A1
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3214A1#FFFFFF#000000##FFFFFF
##3214A11.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3214a1;
/* rgb */ color: rgb(50, 20, 161);
/* oklch */ color: oklch(35.8% 0.201 278.8);
Tailwind
colors: {
  custom: {
    50: '#7c5abe',
    500: '#3214a1',
    950: '#000000',
  },
}
SCSS
$custom: #3214a1;
$custom-light: #7c5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3214a1",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 252.766,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35848,
    "c": 0.20087,
    "h": 278.8
  },
  "luminance": 0.03752
}

Semantic roles & 50–950 ramp

primary
#3214A1
secondary
#AEC948
accent
#F433CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3214A1

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

Preview Lab → · Contrast checker → · Palette generator →

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