#6221BC#6221BC

#6221BC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.217 H 294.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6221BC
RGBrgb(98, 33, 188)
HSLhsl(265, 70%, 43%)
HSVhsv(265, 82%, 74%)
CMYKcmyk(47.9%, 82.4%, 0%, 26.3%)
CIE-LABlab(32.51, 59.01, -68.79)
CIE-LCHlch(32.51, 90.63, 310.62°)
OKLaboklab(44.55% 0.0902 -0.1974)
OKLCHoklch(44.55% 0.217 294.6)
XYZxyz(14.6555, 7.3148, 48.2069)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6221BC #7BBC21
analogous
#212EBC #6221BC #AF21BC
triadic
#6221BC #BC6221 #21BC62
tetradic
#6221BC #BC212E #7BBC21 #21BCAF
square
#6221BC #BC212E #7BBC21 #21BCAF
split-complementary
#6221BC #BCAF21 #2EBC21
monochromatic
#2C0F54 #471888 #6221BC #803DDD #A271E6

Accessibility & contrast

On white

8.53
#6221BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6221BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6221BC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6221BC#FFFFFF#000000##FFFFFF
##6221BC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#474F71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6221bc;
/* rgb */ color: rgb(98, 33, 188);
/* oklch */ color: oklch(44.5% 0.217 294.6);
Tailwind
colors: {
  custom: {
    50: '#9866d1',
    500: '#6221bc',
    950: '#000000',
  },
}
SCSS
$custom: #6221bc;
$custom-light: #9866d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6221bc",
  "rgb": {
    "r": 98,
    "g": 33,
    "b": 188
  },
  "hsl": {
    "h": 265.161,
    "s": 70.136,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44546,
    "c": 0.21705,
    "h": 294.6
  },
  "luminance": 0.07315
}

Semantic roles & 50–950 ramp

primary
#6221BC
secondary
#A4CD6C
accent
#ED3BA2
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6221BC

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

Preview Lab → · Contrast checker → · Palette generator →

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