#6630AC#6630AC

#6630AC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.186 H 298.5°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#6630AC
RGBrgb(102, 48, 172)
HSLhsl(266, 56%, 43%)
HSVhsv(266, 72%, 67%)
CMYKcmyk(40.7%, 72.1%, 0%, 32.5%)
CIE-LABlab(33.81, 49.24, -57.14)
CIE-LCHlch(33.81, 75.43, 310.76°)
OKLaboklab(45.13% 0.0886 -0.1632)
OKLCHoklch(45.13% 0.186 298.5)
XYZxyz(13.9809, 7.9170, 39.8133)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6630AC #76AC30
analogous
#3038AC #6630AC #A430AC
triadic
#6630AC #AC6630 #30AC66
tetradic
#6630AC #AC3038 #76AC30 #30ACA4
square
#6630AC #AC3038 #76AC30 #30ACA4
split-complementary
#6630AC #ACA430 #38AC30
monochromatic
#2D154C #4A237C #6630AC #844CCD #A57CDA

Accessibility & contrast

On white

8.13
#6630AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6630AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6630AC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6630AC#FFFFFF#000000##FFFFFF
##6630AC1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#554F6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6630ac;
/* rgb */ color: rgb(102, 48, 172);
/* oklch */ color: oklch(45.1% 0.186 298.5);
Tailwind
colors: {
  custom: {
    50: '#986dc6',
    500: '#6630ac',
    950: '#000000',
  },
}
SCSS
$custom: #6630ac;
$custom-light: #986dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6630ac",
  "rgb": {
    "r": 102,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 266.129,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45131,
    "c": 0.1857,
    "h": 298.5
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#6630AC
secondary
#A1C375
accent
#E0489E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6630AC

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

Preview Lab → · Contrast checker → · Palette generator →

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