#6222BD#6222BD

#6222BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.217 H 294.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6222BD
RGBrgb(98, 34, 189)
HSLhsl(265, 70%, 44%)
HSVhsv(265, 82%, 74%)
CMYKcmyk(48.1%, 82%, 0%, 25.9%)
CIE-LABlab(32.73, 58.89, -69.02)
CIE-LCHlch(32.73, 90.73, 310.47°)
OKLaboklab(44.73% 0.0892 -0.1981)
OKLCHoklch(44.73% 0.217 294.2)
XYZxyz(14.7918, 7.4144, 48.7860)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6222BD #7DBD22
analogous
#222FBD #6222BD #AF22BD
triadic
#6222BD #BD6222 #22BD62
tetradic
#6222BD #BD222F #7DBD22 #22BDAF
square
#6222BD #BD222F #7DBD22 #22BDAF
split-complementary
#6222BD #BDAF22 #2FBD22
monochromatic
#2C0F55 #471989 #6222BD #8040DD #A373E6

Accessibility & contrast

On white

8.46
#6222BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6222BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6222BD
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6222BD#FFFFFF#000000##FFFFFF
##6222BD1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#465071
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6222bd;
/* rgb */ color: rgb(98, 34, 189);
/* oklch */ color: oklch(44.7% 0.217 294.2);
Tailwind
colors: {
  custom: {
    50: '#9867d2',
    500: '#6222bd',
    950: '#000000',
  },
}
SCSS
$custom: #6222bd;
$custom-light: #9867d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6222bd",
  "rgb": {
    "r": 98,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 264.774,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44726,
    "c": 0.21726,
    "h": 294.2
  },
  "luminance": 0.07415
}

Semantic roles & 50–950 ramp

primary
#6222BD
secondary
#A6CD6E
accent
#EC3BA3
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6222BD

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

Preview Lab → · Contrast checker → · Palette generator →

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