#6630B5#6630B5

#6630B5 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.196 H 296.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#6630B5
RGBrgb(102, 48, 181)
HSLhsl(264, 58%, 45%)
HSVhsv(264, 73%, 71%)
CMYKcmyk(43.6%, 73.5%, 0%, 29%)
CIE-LABlab(34.55, 51.57, -61.29)
CIE-LCHlch(34.55, 80.10, 310.07°)
OKLaboklab(45.88% 0.0867 -0.1754)
OKLCHoklch(45.88% 0.196 296.3)
XYZxyz(14.8747, 8.2746, 44.5205)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630B5 #7FB530
analogous
#303CB5 #6630B5 #A930B5
triadic
#6630B5 #B56630 #30B566
tetradic
#6630B5 #B5303C #7FB530 #30B5A9
square
#6630B5 #B5303C #7FB530 #30B5A9
split-complementary
#6630B5 #B5A930 #3CB530
monochromatic
#2F1654 #4B2385 #6630B5 #8551D1 #A782DE

Accessibility & contrast

On white

7.91
#6630B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6630B5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630B5#FFFFFF#000000##FFFFFF
##6630B51.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#515270
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6630b5;
/* rgb */ color: rgb(102, 48, 181);
/* oklch */ color: oklch(45.9% 0.196 296.3);
Tailwind
colors: {
  custom: {
    50: '#996dcc',
    500: '#6630b5',
    950: '#000000',
  },
}
SCSS
$custom: #6630b5;
$custom-light: #996dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6630b5",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 264.361,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.19565,
    "h": 296.3
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#6630B5
secondary
#A8C77A
accent
#E146A2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6630B5

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

Preview Lab → · Contrast checker → · Palette generator →

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