#6222BC#6222BC

#6222BC is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.216 H 294.5°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6222BC
RGBrgb(98, 34, 188)
HSLhsl(265, 69%, 44%)
HSVhsv(265, 82%, 74%)
CMYKcmyk(47.9%, 81.9%, 0%, 26.3%)
CIE-LABlab(32.64, 58.64, -68.59)
CIE-LCHlch(32.64, 90.24, 310.53°)
OKLaboklab(44.63% 0.0896 -0.1968)
OKLCHoklch(44.63% 0.216 294.5)
XYZxyz(14.6836, 7.3711, 48.2163)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6222BC #7CBC22
analogous
#222FBC #6222BC #AF22BC
triadic
#6222BC #BC6222 #22BC62
tetradic
#6222BC #BC222F #7CBC22 #22BCAF
square
#6222BC #BC222F #7CBC22 #22BCAF
split-complementary
#6222BC #BCAF22 #2FBC22
monochromatic
#2C0F54 #471988 #6222BC #803FDC #A373E6

Accessibility & contrast

On white

8.49
#6222BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6222BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6222BC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6222BC#FFFFFF#000000##FFFFFF
##6222BC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#475071
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6222bc;
/* rgb */ color: rgb(98, 34, 188);
/* oklch */ color: oklch(44.6% 0.216 294.5);
Tailwind
colors: {
  custom: {
    50: '#9867d1',
    500: '#6222bc',
    950: '#000000',
  },
}
SCSS
$custom: #6222bc;
$custom-light: #9867d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6222bc",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 264.935,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44632,
    "c": 0.21625,
    "h": 294.5
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#6222BC
secondary
#A5CD6D
accent
#EC3CA3
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6222BC

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

Preview Lab → · Contrast checker → · Palette generator →

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