#6627A2#6627A2

#6627A2 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.185 H 302.4°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6627A2
RGBrgb(102, 39, 162)
HSLhsl(271, 61%, 39%)
HSVhsv(271, 76%, 64%)
CMYKcmyk(37%, 75.9%, 0%, 36.5%)
CIE-LABlab(31.54, 50.86, -54.82)
CIE-LCHlch(31.54, 74.78, 312.86°)
OKLaboklab(43.28% 0.0993 -0.1563)
OKLCHoklch(43.28% 0.185 302.4)
XYZxyz(12.7250, 6.8844, 34.8338)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6627A2 #63A227
analogous
#2927A2 #6627A2 #A227A1
triadic
#6627A2 #A26627 #27A266
tetradic
#6627A2 #A22927 #63A227 #27A1A2
square
#6627A2 #A22927 #63A227 #27A1A2
split-complementary
#6627A2 #A1A227 #27A229
monochromatic
#280F3F #471B71 #6627A2 #8537CF #A369DB

Accessibility & contrast

On white

8.84
#6627A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6627A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6627A2#FFFFFF#000000##FFFFFF
##6627A21.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#594663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6627a2;
/* rgb */ color: rgb(102, 39, 162);
/* oklch */ color: oklch(43.3% 0.185 302.4);
Tailwind
colors: {
  custom: {
    50: '#9768be',
    500: '#6627a2',
    950: '#000000',
  },
}
SCSS
$custom: #6627a2;
$custom-light: #9768be;
$custom-dark: #000000;
JSON
{
  "hex": "#6627a2",
  "rgb": {
    "r": 102,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 270.732,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43276,
    "c": 0.1852,
    "h": 302.4
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#6627A2
secondary
#91C164
accent
#E44392
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6627A2

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

Preview Lab → · Contrast checker → · Palette generator →

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