#6222AF#6222AF

#6222AF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.4% C 0.203 H 297.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6222AF
RGBrgb(98, 34, 175)
HSLhsl(267, 67%, 41%)
HSVhsv(267, 81%, 69%)
CMYKcmyk(44%, 80.6%, 0%, 31.4%)
CIE-LABlab(31.43, 55.44, -62.84)
CIE-LCHlch(31.43, 83.80, 311.42°)
OKLaboklab(43.43% 0.0939 -0.18)
OKLCHoklch(43.43% 0.203 297.5)
XYZxyz(13.3449, 6.8356, 41.1654)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6222AF #6FAF22
analogous
#2228AF #6222AF #A822AF
triadic
#6222AF #AF6222 #22AF62
tetradic
#6222AF #AF2228 #6FAF22 #22AFA8
square
#6222AF #AF2228 #6FAF22 #22AFA8
split-complementary
#6222AF #AFA822 #28AF22
monochromatic
#290E49 #45187C #6222AF #8036D8 #A069E2

Accessibility & contrast

On white

8.87
#6222AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6222AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6222AF
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6222AF#FFFFFF#000000##FFFFFF
##6222AF1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#4E4A69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6222af;
/* rgb */ color: rgb(98, 34, 175);
/* oklch */ color: oklch(43.4% 0.203 297.5);
Tailwind
colors: {
  custom: {
    50: '#9666c8',
    500: '#6222af',
    950: '#000000',
  },
}
SCSS
$custom: #6222af;
$custom-light: #9666c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6222af",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 267.234,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43429,
    "c": 0.203,
    "h": 297.5
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#6222AF
secondary
#9BC865
accent
#EA3D9C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6222AF

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

Preview Lab → · Contrast checker → · Palette generator →

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