#4217A0#4217A0

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

Color values

HEX#4217A0
RGBrgb(66, 23, 160)
HSLhsl(259, 75%, 36%)
HSVhsv(259, 86%, 63%)
CMYKcmyk(58.8%, 85.6%, 0%, 37.3%)
CIE-LABlab(24.67, 51.73, -65.06)
CIE-LCHlch(24.67, 83.12, 308.49°)
OKLaboklab(37.45% 0.0555 -0.1874)
OKLCHoklch(37.45% 0.195 286.5)
XYZxyz(8.8964, 4.3086, 33.6137)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4217A0 #75A017
analogous
#1731A0 #4217A0 #8617A0
triadic
#4217A0 #A04217 #17A042
tetradic
#4217A0 #A01731 #75A017 #17A086
square
#4217A0 #A01731 #75A017 #17A086
split-complementary
#4217A0 #A08617 #31A017
monochromatic
#160835 #2C0F6A #4217A0 #581FD6 #7C4CE5

Accessibility & contrast

On white

11.28
#4217A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4217A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4217A0
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4217A0#FFFFFF#000000##FFFFFF
##4217A01.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#0F435E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4217a0;
/* rgb */ color: rgb(66, 23, 160);
/* oklch */ color: oklch(37.4% 0.195 286.5);
Tailwind
colors: {
  custom: {
    50: '#835cbd',
    500: '#4217a0',
    950: '#000000',
  },
}
SCSS
$custom: #4217a0;
$custom-light: #835cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4217a0",
  "rgb": {
    "r": 66,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 258.832,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37449,
    "c": 0.19543,
    "h": 286.5
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#4217A0
secondary
#A0C74C
accent
#F136B7
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4217A0

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

Preview Lab → · Contrast checker → · Palette generator →

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