#6630B6#6630B6

#6630B6 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.197 H 296.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#6630B6
RGBrgb(102, 48, 182)
HSLhsl(264, 58%, 45%)
HSVhsv(264, 74%, 71%)
CMYKcmyk(44%, 73.6%, 0%, 28.6%)
CIE-LABlab(34.63, 51.83, -61.75)
CIE-LCHlch(34.63, 80.62, 310.01°)
OKLaboklab(45.97% 0.0864 -0.1768)
OKLCHoklch(45.97% 0.197 296.1)
XYZxyz(14.9777, 8.3157, 45.0629)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630B6 #80B630
analogous
#303DB6 #6630B6 #A930B6
triadic
#6630B6 #B66630 #30B666
tetradic
#6630B6 #B6303D #80B630 #30B6A9
square
#6630B6 #B6303D #80B630 #30B6A9
split-complementary
#6630B6 #B6A930 #3DB630
monochromatic
#301655 #4B2386 #6630B6 #8552D1 #A782DE

Accessibility & contrast

On white

7.89
#6630B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6630B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630B6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630B6#FFFFFF#000000##FFFFFF
##6630B61.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#505370
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6630b6;
/* rgb */ color: rgb(102, 48, 182);
/* oklch */ color: oklch(46.0% 0.197 296.1);
Tailwind
colors: {
  custom: {
    50: '#996dcd',
    500: '#6630b6',
    950: '#000000',
  },
}
SCSS
$custom: #6630b6;
$custom-light: #996dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6630b6",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 264.179,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45968,
    "c": 0.19676,
    "h": 296.1
  },
  "luminance": 0.08316
}

Semantic roles & 50–950 ramp

primary
#6630B6
secondary
#A8C77B
accent
#E146A3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0714
muted
#7E7A82

Preview Lab

Preview with #6630B6

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

Preview Lab → · Contrast checker → · Palette generator →

#6630B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva