#3215A0#3215A0

#3215A0 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.199 H 278.9°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#3215A0
RGBrgb(50, 21, 160)
HSLhsl(253, 77%, 35%)
HSVhsv(253, 87%, 63%)
CMYKcmyk(68.8%, 86.9%, 0%, 37.3%)
CIE-LABlab(22.83, 51.07, -68.14)
CIE-LCHlch(22.83, 85.15, 306.85°)
OKLaboklab(35.82% 0.0308 -0.1967)
OKLCHoklch(35.82% 0.199 278.9)
XYZxyz(7.9267, 3.7518, 33.5573)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3215A0 #83A015
analogous
#153DA0 #3215A0 #7715A0
triadic
#3215A0 #A03215 #15A032
tetradic
#3215A0 #A0153D #83A015 #15A077
square
#3215A0 #A0153D #83A015 #15A077
split-complementary
#3215A0 #A07715 #3DA015
monochromatic
#100734 #210E6A #3215A0 #431CD6 #6948E7

Accessibility & contrast

On white

12.00
#3215A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3215A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3215A0
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3215A0#FFFFFF#000000##FFFFFF
##3215A01.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)
#003BA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3215a0;
/* rgb */ color: rgb(50, 21, 160);
/* oklch */ color: oklch(35.8% 0.199 278.9);
Tailwind
colors: {
  custom: {
    50: '#7b5abe',
    500: '#3215a0',
    950: '#000000',
  },
}
SCSS
$custom: #3215a0;
$custom-light: #7b5abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3215a0",
  "rgb": {
    "r": 50,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 252.518,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35815,
    "c": 0.19913,
    "h": 278.9
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

primary
#3215A0
secondary
#AEC849
accent
#F334CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #3215A0

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

Preview Lab → · Contrast checker → · Palette generator →

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