#6222A9#6222A9

#6222A9 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.197 H 299.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6222A9
RGBrgb(98, 34, 169)
HSLhsl(268, 67%, 40%)
HSVhsv(268, 80%, 66%)
CMYKcmyk(42%, 79.9%, 0%, 33.7%)
CIE-LABlab(30.89, 53.96, -60.13)
CIE-LCHlch(30.89, 80.79, 311.91°)
OKLaboklab(42.89% 0.0957 -0.172)
OKLCHoklch(42.89% 0.197 299.1)
XYZxyz(12.7686, 6.6051, 38.1306)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6222A9 #69A922
analogous
#2226A9 #6222A9 #A522A9
triadic
#6222A9 #A96222 #22A962
tetradic
#6222A9 #A92226 #69A922 #22A9A5
square
#6222A9 #A92226 #69A922 #22A9A5
split-complementary
#6222A9 #A9A522 #26A922
monochromatic
#270D43 #441876 #6222A9 #8032D6 #A065E0

Accessibility & contrast

On white

9.05
#6222A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6222A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6222A9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6222A9#FFFFFF#000000##FFFFFF
##6222A91.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#504766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6222a9;
/* rgb */ color: rgb(98, 34, 169);
/* oklch */ color: oklch(42.9% 0.197 299.1);
Tailwind
colors: {
  custom: {
    50: '#9665c4',
    500: '#6222a9',
    950: '#000000',
  },
}
SCSS
$custom: #6222a9;
$custom-light: #9665c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6222a9",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 268.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42889,
    "c": 0.19687,
    "h": 299.1
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#6222A9
secondary
#96C561
accent
#E93E98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6222A9

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

Preview Lab → · Contrast checker → · Palette generator →

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