#6627AA#6627AA

#6627AA is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.194 H 300.2°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6627AA
RGBrgb(102, 39, 170)
HSLhsl(269, 63%, 41%)
HSVhsv(269, 77%, 67%)
CMYKcmyk(40%, 77.1%, 0%, 33.3%)
CIE-LABlab(32.21, 52.82, -58.55)
CIE-LCHlch(32.21, 78.85, 312.05°)
OKLaboklab(43.95% 0.0973 -0.1673)
OKLCHoklch(43.95% 0.194 300.2)
XYZxyz(13.4589, 7.1780, 38.6988)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6627AA #6BAA27
analogous
#2729AA #6627AA #A727AA
triadic
#6627AA #AA6627 #27AA66
tetradic
#6627AA #AA2729 #6BAA27 #27AAA7
square
#6627AA #AA2729 #6BAA27 #27AAA7
split-complementary
#6627AA #AAA727 #29AA27
monochromatic
#2A1046 #481C78 #6627AA #843CD2 #A46EDE

Accessibility & contrast

On white

8.62
#6627AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6627AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6627AA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6627AA#FFFFFF#000000##FFFFFF
##6627AA1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#564A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6627aa;
/* rgb */ color: rgb(102, 39, 170);
/* oklch */ color: oklch(44.0% 0.194 300.2);
Tailwind
colors: {
  custom: {
    50: '#9868c4',
    500: '#6627aa',
    950: '#000000',
  },
}
SCSS
$custom: #6627aa;
$custom-light: #9868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6627aa",
  "rgb": {
    "r": 102,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 268.855,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43951,
    "c": 0.19355,
    "h": 300.2
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#6627AA
secondary
#98C469
accent
#E64297
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6627AA

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

Preview Lab → · Contrast checker → · Palette generator →

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