#6633AA#6633AA

#6633AA is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.180 H 298.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6633AA
RGBrgb(102, 51, 170)
HSLhsl(266, 54%, 43%)
HSVhsv(266, 70%, 67%)
CMYKcmyk(40%, 70%, 0%, 33.3%)
CIE-LABlab(34.18, 47.25, -55.34)
CIE-LCHlch(34.18, 72.77, 310.49°)
OKLaboklab(45.34% 0.0859 -0.1579)
OKLCHoklch(45.34% 0.18 298.5)
XYZxyz(13.9172, 8.0945, 38.8516)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6633AA #77AA33
analogous
#333CAA #6633AA #A133AA
triadic
#6633AA #AA6633 #33AA66
tetradic
#6633AA #AA333C #77AA33 #33AAA1
square
#6633AA #AA333C #77AA33 #33AAA1
split-complementary
#6633AA #AAA133 #3CAA33
monochromatic
#2E174C #4A257B #6633AA #8450CA #A57FD9

Accessibility & contrast

On white

8.02
#6633AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6633AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6633AA
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6633AA#FFFFFF#000000##FFFFFF
##6633AA1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#56506B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6633aa;
/* rgb */ color: rgb(102, 51, 170);
/* oklch */ color: oklch(45.3% 0.180 298.5);
Tailwind
colors: {
  custom: {
    50: '#976fc4',
    500: '#6633aa',
    950: '#000000',
  },
}
SCSS
$custom: #6633aa;
$custom-light: #976fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6633aa",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 265.714,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45344,
    "c": 0.1798,
    "h": 298.5
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#6633AA
secondary
#A2C277
accent
#DD4B9E
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6633AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6633AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva