#6621BD#6621BD

#6621BD is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.218 H 296.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6621BD
RGBrgb(102, 33, 189)
HSLhsl(267, 70%, 44%)
HSVhsv(267, 83%, 74%)
CMYKcmyk(46%, 82.5%, 0%, 25.9%)
CIE-LABlab(33.11, 59.77, -68.39)
CIE-LCHlch(33.11, 90.83, 311.15°)
OKLaboklab(45.09% 0.096 -0.1961)
OKLCHoklch(45.09% 0.218 296.1)
XYZxyz(15.2062, 7.5862, 48.7974)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6621BD #78BD21
analogous
#212ABD #6621BD #B421BD
triadic
#6621BD #BD6621 #21BD66
tetradic
#6621BD #BD212A #78BD21 #21BDB4
square
#6621BD #BD212A #78BD21 #21BDB4
split-complementary
#6621BD #BDB421 #2ABD21
monochromatic
#2E0F55 #4A1889 #6621BD #843EDD #A572E6

Accessibility & contrast

On white

8.34
#6621BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6621BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6621BD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6621BD#FFFFFF#000000##FFFFFF
##6621BD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#4D4F71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6621bd;
/* rgb */ color: rgb(102, 33, 189);
/* oklch */ color: oklch(45.1% 0.218 296.1);
Tailwind
colors: {
  custom: {
    50: '#9b67d2',
    500: '#6621bd',
    950: '#000000',
  },
}
SCSS
$custom: #6621bd;
$custom-light: #9b67d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6621bd",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 189
  },
  "hsl": {
    "h": 266.538,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.21834,
    "h": 296.1
  },
  "luminance": 0.07587
}

Semantic roles & 50–950 ramp

primary
#6621BD
secondary
#A2CD6D
accent
#ED3B9E
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0614
muted
#7F7A83

Preview Lab

Preview with #6621BD

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

Preview Lab → · Contrast checker → · Palette generator →

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