#6633AE#6633AE

#6633AE is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.184 H 297.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#6633AE
RGBrgb(102, 51, 174)
HSLhsl(265, 55%, 44%)
HSVhsv(265, 71%, 68%)
CMYKcmyk(41.4%, 70.7%, 0%, 31.8%)
CIE-LABlab(34.49, 48.29, -57.22)
CIE-LCHlch(34.49, 74.87, 310.16°)
OKLaboklab(45.67% 0.0852 -0.1635)
OKLCHoklch(45.67% 0.184 297.5)
XYZxyz(14.3013, 8.2482, 40.8748)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6633AE #7BAE33
analogous
#333EAE #6633AE #A433AE
triadic
#6633AE #AE6633 #33AE66
tetradic
#6633AE #AE333E #7BAE33 #33AEA4
square
#6633AE #AE333E #7BAE33 #33AEA4
split-complementary
#6633AE #AEA433 #3EAE33
monochromatic
#2F174F #4A257F #6633AE #8552CC #A681DA

Accessibility & contrast

On white

7.93
#6633AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6633AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6633AE#FFFFFF#000000##FFFFFF
##6633AE1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#54516D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6633ae;
/* rgb */ color: rgb(102, 51, 174);
/* oklch */ color: oklch(45.7% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#986fc7',
    500: '#6633ae',
    950: '#000000',
  },
}
SCSS
$custom: #6633ae;
$custom-light: #986fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6633ae",
  "rgb": {
    "r": 102,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 264.878,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.18433,
    "h": 297.5
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#6633AE
secondary
#A5C379
accent
#DE4AA1
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6633AE

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

Preview Lab → · Contrast checker → · Palette generator →

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