#4215A1#4215A1

#4215A1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.198 H 286.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#4215A1
RGBrgb(66, 21, 161)
HSLhsl(259, 77%, 36%)
HSVhsv(259, 87%, 63%)
CMYKcmyk(59%, 87%, 0%, 36.9%)
CIE-LABlab(24.54, 52.72, -65.88)
CIE-LCHlch(24.54, 84.38, 308.67°)
OKLaboklab(37.39% 0.0561 -0.1898)
OKLCHoklch(37.39% 0.198 286.5)
XYZxyz(8.9460, 4.2673, 34.0636)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4215A1 #74A115
analogous
#152EA1 #4215A1 #8815A1
triadic
#4215A1 #A14215 #15A142
tetradic
#4215A1 #A1152E #74A115 #15A188
square
#4215A1 #A1152E #74A115 #15A188
split-complementary
#4215A1 #A18815 #2EA115
monochromatic
#160735 #2C0E6B #4215A1 #581CD7 #7C49E7

Accessibility & contrast

On white

11.33
#4215A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4215A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4215A1
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4215A1#FFFFFF#000000##FFFFFF
##4215A11.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#0D435F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4215a1;
/* rgb */ color: rgb(66, 21, 161);
/* oklch */ color: oklch(37.4% 0.198 286.5);
Tailwind
colors: {
  custom: {
    50: '#835cbe',
    500: '#4215a1',
    950: '#000000',
  },
}
SCSS
$custom: #4215a1;
$custom-light: #835cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4215a1",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 259.286,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.19787,
    "h": 286.5
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#4215A1
secondary
#A0C849
accent
#F334B6
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4215A1

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

Preview Lab → · Contrast checker → · Palette generator →

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