#6217A0#6217A0

#6217A0 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 41.2% C 0.197 H 302.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6217A0
RGBrgb(98, 23, 160)
HSLhsl(273, 75%, 36%)
HSVhsv(273, 86%, 63%)
CMYKcmyk(38.8%, 85.6%, 0%, 37.3%)
CIE-LABlab(28.77, 55.67, -58.16)
CIE-LCHlch(28.77, 80.51, 313.75°)
OKLaboklab(41.17% 0.1064 -0.1662)
OKLCHoklch(41.17% 0.197 302.6)
XYZxyz(11.6870, 5.7475, 33.7446)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6217A0 #55A017
analogous
#1E17A0 #6217A0 #A01799
triadic
#6217A0 #A06217 #17A062
tetradic
#6217A0 #A01E17 #55A017 #1799A0
square
#6217A0 #A01E17 #55A017 #1799A0
split-complementary
#6217A0 #99A017 #17A01E
monochromatic
#200835 #410F6A #6217A0 #831FD6 #A04CE5

Accessibility & contrast

On white

9.77
#6217A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6217A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6217A0
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6217A0#FFFFFF#000000##FFFFFF
##6217A01.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A4
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#553F5F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6217a0;
/* rgb */ color: rgb(98, 23, 160);
/* oklch */ color: oklch(41.2% 0.197 302.6);
Tailwind
colors: {
  custom: {
    50: '#9560bd',
    500: '#6217a0',
    950: '#000000',
  },
}
SCSS
$custom: #6217a0;
$custom-light: #9560bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6217a0",
  "rgb": {
    "r": 98,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 272.847,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4117,
    "c": 0.1973,
    "h": 302.6
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#6217A0
secondary
#84C74C
accent
#F1368B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0512
muted
#7E7A81

Preview Lab

Preview with #6217A0

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

Preview Lab → · Contrast checker → · Palette generator →

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