#6217A1#6217A1

#6217A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.3% C 0.198 H 302.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6217A1
RGBrgb(98, 23, 161)
HSLhsl(273, 75%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(39.1%, 85.7%, 0%, 36.9%)
CIE-LABlab(28.86, 55.90, -58.62)
CIE-LCHlch(28.86, 81.00, 313.64°)
OKLaboklab(41.26% 0.106 -0.1675)
OKLCHoklch(41.26% 0.198 302.3)
XYZxyz(11.7749, 5.7826, 34.2071)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6217A1 #56A117
analogous
#1D17A1 #6217A1 #A1179B
triadic
#6217A1 #A16217 #17A162
tetradic
#6217A1 #A11D17 #56A117 #179BA1
square
#6217A1 #A11D17 #56A117 #179BA1
split-complementary
#6217A1 #9BA117 #17A11D
monochromatic
#210836 #410F6B #6217A1 #831FD7 #A04DE6

Accessibility & contrast

On white

9.74
#6217A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6217A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6217A1
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6217A1#FFFFFF#000000##FFFFFF
##6217A11.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A5
Deuteranopia (green-blind)
#00439E
Tritanopia (blue-blind)
#54405F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6217a1;
/* rgb */ color: rgb(98, 23, 161);
/* oklch */ color: oklch(41.3% 0.198 302.3);
Tailwind
colors: {
  custom: {
    50: '#9560be',
    500: '#6217a1',
    950: '#000000',
  },
}
SCSS
$custom: #6217a1;
$custom-light: #9560be;
$custom-dark: #000000;
JSON
{
  "hex": "#6217a1",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 272.609,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4126,
    "c": 0.19825,
    "h": 302.3
  },
  "luminance": 0.05783
}

Semantic roles & 50–950 ramp

primary
#6217A1
secondary
#85C74C
accent
#F2368C
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6217A1

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

Preview Lab → · Contrast checker → · Palette generator →

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