#6630AE#6630AE

#6630AE is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.188 H 298.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6630AE
RGBrgb(102, 48, 174)
HSLhsl(266, 57%, 44%)
HSVhsv(266, 72%, 68%)
CMYKcmyk(41.4%, 72.4%, 0%, 31.8%)
CIE-LABlab(33.97, 49.76, -58.07)
CIE-LCHlch(33.97, 76.47, 310.59°)
OKLaboklab(45.3% 0.0882 -0.1659)
OKLCHoklch(45.3% 0.188 298)
XYZxyz(14.1745, 7.9944, 40.8325)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630AE #78AE30
analogous
#3039AE #6630AE #A530AE
triadic
#6630AE #AE6630 #30AE66
tetradic
#6630AE #AE3039 #78AE30 #30AEA5
square
#6630AE #AE3039 #78AE30 #30AEA5
split-complementary
#6630AE #AEA530 #39AE30
monochromatic
#2E164E #4A237E #6630AE #844DCE #A57DDB

Accessibility & contrast

On white

8.08
#6630AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6630AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630AE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630AE#FFFFFF#000000##FFFFFF
##6630AE1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#54506C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6630ae;
/* rgb */ color: rgb(102, 48, 174);
/* oklch */ color: oklch(45.3% 0.188 298.0);
Tailwind
colors: {
  custom: {
    50: '#986dc7',
    500: '#6630ae',
    950: '#000000',
  },
}
SCSS
$custom: #6630ae;
$custom-light: #986dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6630ae",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 265.714,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.18791,
    "h": 298
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#6630AE
secondary
#A2C476
accent
#E0489F
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6630AE

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

Preview Lab → · Contrast checker → · Palette generator →

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