#6221A9#6221A9

#6221A9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.198 H 299.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6221A9
RGBrgb(98, 33, 169)
HSLhsl(269, 67%, 40%)
HSVhsv(269, 80%, 66%)
CMYKcmyk(42%, 80.5%, 0%, 33.7%)
CIE-LABlab(30.76, 54.35, -60.35)
CIE-LCHlch(30.76, 81.21, 312.01°)
OKLaboklab(42.8% 0.0965 -0.1727)
OKLCHoklch(42.8% 0.198 299.2)
XYZxyz(12.7405, 6.5488, 38.1212)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6221A9 #68A921
analogous
#2124A9 #6221A9 #A621A9
triadic
#6221A9 #A96221 #21A962
tetradic
#6221A9 #A92124 #68A921 #21A9A6
square
#6221A9 #A92124 #68A921 #21A9A6
split-complementary
#6221A9 #A9A621 #24A921
monochromatic
#270D43 #441776 #6221A9 #8031D7 #9F64E1

Accessibility & contrast

On white

9.09
#6221A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6221A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6221A9
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6221A9#FFFFFF#000000##FFFFFF
##6221A91.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#514766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6221a9;
/* rgb */ color: rgb(98, 33, 169);
/* oklch */ color: oklch(42.8% 0.198 299.2);
Tailwind
colors: {
  custom: {
    50: '#9665c4',
    500: '#6221a9',
    950: '#000000',
  },
}
SCSS
$custom: #6221a9;
$custom-light: #9665c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6221a9",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 268.676,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.19779,
    "h": 299.2
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#6221A9
secondary
#95C660
accent
#EA3E98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6221A9

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

Preview Lab → · Contrast checker → · Palette generator →

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