#3214A0#3214A0

#3214A0 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.7% C 0.200 H 279.0°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#3214A0
RGBrgb(50, 20, 160)
HSLhsl(253, 78%, 35%)
HSVhsv(253, 88%, 63%)
CMYKcmyk(68.8%, 87.5%, 0%, 37.3%)
CIE-LABlab(22.71, 51.44, -68.35)
CIE-LCHlch(22.71, 85.54, 306.96°)
OKLaboklab(35.73% 0.0311 -0.1973)
OKLCHoklch(35.73% 0.2 279)
XYZxyz(7.9087, 3.7158, 33.5513)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3214A0 #82A014
analogous
#143CA0 #3214A0 #7814A0
triadic
#3214A0 #A03214 #14A032
tetradic
#3214A0 #A0143C #82A014 #14A078
square
#3214A0 #A0143C #82A014 #14A078
split-complementary
#3214A0 #A07814 #3CA014
monochromatic
#100633 #210D6A #3214A0 #431BD6 #6946E8

Accessibility & contrast

On white

12.05
#3214A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3214A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3214A0
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3214A0#FFFFFF#000000##FFFFFF
##3214A01.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3214a0;
/* rgb */ color: rgb(50, 20, 160);
/* oklch */ color: oklch(35.7% 0.200 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c5abe',
    500: '#3214a0',
    950: '#000000',
  },
}
SCSS
$custom: #3214a0;
$custom-light: #7c5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3214a0",
  "rgb": {
    "r": 50,
    "g": 20,
    "b": 160
  },
  "hsl": {
    "h": 252.857,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3573,
    "c": 0.19975,
    "h": 279
  },
  "luminance": 0.03716
}

Semantic roles & 50–950 ramp

primary
#3214A0
secondary
#ADC947
accent
#F434CB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3214A0

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

Preview Lab → · Contrast checker → · Palette generator →

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