#6221BD#6221BD

#6221BD is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.218 H 294.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#6221BD
RGBrgb(98, 33, 189)
HSLhsl(265, 70%, 44%)
HSVhsv(265, 83%, 74%)
CMYKcmyk(48.1%, 82.5%, 0%, 25.9%)
CIE-LABlab(32.61, 59.25, -69.22)
CIE-LCHlch(32.61, 91.12, 310.56°)
OKLaboklab(44.64% 0.0899 -0.1987)
OKLCHoklch(44.64% 0.218 294.3)
XYZxyz(14.7636, 7.3581, 48.7766)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6221BD #7CBD21
analogous
#212EBD #6221BD #B021BD
triadic
#6221BD #BD6221 #21BD62
tetradic
#6221BD #BD212E #7CBD21 #21BDB0
square
#6221BD #BD212E #7CBD21 #21BDB0
split-complementary
#6221BD #BDB021 #2EBD21
monochromatic
#2C0F55 #471889 #6221BD #803EDD #A372E6

Accessibility & contrast

On white

8.50
#6221BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6221BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6221BD
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6221BD#FFFFFF#000000##FFFFFF
##6221BD1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.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: #6221bd;
/* rgb */ color: rgb(98, 33, 189);
/* oklch */ color: oklch(44.6% 0.218 294.3);
Tailwind
colors: {
  custom: {
    50: '#9866d2',
    500: '#6221bd',
    950: '#000000',
  },
}
SCSS
$custom: #6221bd;
$custom-light: #9866d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6221bd",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 265,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4464,
    "c": 0.21806,
    "h": 294.3
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

primary
#6221BD
secondary
#A5CD6D
accent
#ED3BA3
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6221BD

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

Preview Lab → · Contrast checker → · Palette generator →

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