#6222A5#6222A5

#6222A5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.193 H 300.2°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6222A5
RGBrgb(98, 34, 165)
HSLhsl(269, 66%, 39%)
HSVhsv(269, 79%, 65%)
CMYKcmyk(40.6%, 79.4%, 0%, 35.3%)
CIE-LABlab(30.54, 52.99, -58.29)
CIE-LCHlch(30.54, 78.78, 312.27°)
OKLaboklab(42.54% 0.0969 -0.1666)
OKLCHoklch(42.54% 0.193 300.2)
XYZxyz(12.3989, 6.4572, 36.1831)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6222A5 #65A522
analogous
#2224A5 #6222A5 #A422A5
triadic
#6222A5 #A56222 #22A562
tetradic
#6222A5 #A52224 #65A522 #22A5A4
square
#6222A5 #A52224 #65A522 #22A5A4
split-complementary
#6222A5 #A5A422 #24A522
monochromatic
#260D40 #441872 #6222A5 #8030D4 #9F63DF

Accessibility & contrast

On white

9.16
#6222A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6222A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6222A5
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6222A5#FFFFFF#000000##FFFFFF
##6222A51.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6222a5;
/* rgb */ color: rgb(98, 34, 165);
/* oklch */ color: oklch(42.5% 0.193 300.2);
Tailwind
colors: {
  custom: {
    50: '#9565c1',
    500: '#6222a5',
    950: '#000000',
  },
}
SCSS
$custom: #6222a5;
$custom-light: #9565c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6222a5",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 269.313,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.19277,
    "h": 300.2
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

primary
#6222A5
secondary
#93C45F
accent
#E93F96
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6222A5

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

Preview Lab → · Contrast checker → · Palette generator →

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