#6621BA#6621BA

#6621BA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.8% C 0.215 H 296.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#6621BA
RGBrgb(102, 33, 186)
HSLhsl(267, 70%, 43%)
HSVhsv(267, 82%, 73%)
CMYKcmyk(45.2%, 82.3%, 0%, 27.1%)
CIE-LABlab(32.83, 59.05, -67.07)
CIE-LCHlch(32.83, 89.36, 311.36°)
OKLaboklab(44.82% 0.097 -0.1923)
OKLCHoklch(44.82% 0.215 296.8)
XYZxyz(14.8839, 7.4573, 47.1001)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6621BA #75BA21
analogous
#2128BA #6621BA #B221BA
triadic
#6621BA #BA6621 #21BA66
tetradic
#6621BA #BA2128 #75BA21 #21BAB2
square
#6621BA #BA2128 #75BA21 #21BAB2
split-complementary
#6621BA #BAB221 #28BA21
monochromatic
#2D0F52 #491886 #6621BA #843CDC #A570E6

Accessibility & contrast

On white

8.43
#6621BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6621BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6621BA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6621BA#FFFFFF#000000##FFFFFF
##6621BA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#4F4E6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6621ba;
/* rgb */ color: rgb(102, 33, 186);
/* oklch */ color: oklch(44.8% 0.215 296.8);
Tailwind
colors: {
  custom: {
    50: '#9a66d0',
    500: '#6621ba',
    950: '#000000',
  },
}
SCSS
$custom: #6621ba;
$custom-light: #9a66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6621ba",
  "rgb": {
    "r": 102,
    "g": 33,
    "b": 186
  },
  "hsl": {
    "h": 267.059,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.21535,
    "h": 296.8
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#6621BA
secondary
#A0CC6B
accent
#ED3B9D
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0614
muted
#7F7A82

Preview Lab

Preview with #6621BA

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

Preview Lab → · Contrast checker → · Palette generator →

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