#6221A6#6221A6

#6221A6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.195 H 300.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6221A6
RGBrgb(98, 33, 166)
HSLhsl(269, 67%, 39%)
HSVhsv(269, 80%, 65%)
CMYKcmyk(41%, 80.1%, 0%, 34.9%)
CIE-LABlab(30.49, 53.62, -58.97)
CIE-LCHlch(30.49, 79.71, 312.28°)
OKLaboklab(42.53% 0.0974 -0.1686)
OKLCHoklch(42.53% 0.195 300)
XYZxyz(12.4621, 6.4374, 36.6550)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6221A6 #65A621
analogous
#2123A6 #6221A6 #A521A6
triadic
#6221A6 #A66221 #21A662
tetradic
#6221A6 #A62123 #65A621 #21A6A5
square
#6221A6 #A62123 #65A621 #21A6A5
split-complementary
#6221A6 #A6A521 #23A621
monochromatic
#260D40 #441773 #6221A6 #802FD6 #9F62E0

Accessibility & contrast

On white

9.18
#6221A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6221A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6221A6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6221A6#FFFFFF#000000##FFFFFF
##6221A61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#524664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6221a6;
/* rgb */ color: rgb(98, 33, 166);
/* oklch */ color: oklch(42.5% 0.195 300.0);
Tailwind
colors: {
  custom: {
    50: '#9565c1',
    500: '#6221a6',
    950: '#000000',
  },
}
SCSS
$custom: #6221a6;
$custom-light: #9565c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6221a6",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 269.323,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.19475,
    "h": 300
  },
  "luminance": 0.06438
}

Semantic roles & 50–950 ramp

primary
#6221A6
secondary
#93C55E
accent
#EA3E96
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6221A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6221A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva