#6627AC#6627AC

#6627AC is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.1% C 0.196 H 299.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6627AC
RGBrgb(102, 39, 172)
HSLhsl(268, 63%, 41%)
HSVhsv(268, 77%, 67%)
CMYKcmyk(40.7%, 77.3%, 0%, 32.5%)
CIE-LABlab(32.38, 53.31, -59.47)
CIE-LCHlch(32.38, 79.87, 311.87°)
OKLaboklab(44.12% 0.0968 -0.17)
OKLCHoklch(44.12% 0.196 299.7)
XYZxyz(13.6495, 7.2542, 39.7028)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6627AC #6DAC27
analogous
#272BAC #6627AC #A927AC
triadic
#6627AC #AC6627 #27AC66
tetradic
#6627AC #AC272B #6DAC27 #27ACA9
square
#6627AC #AC272B #6DAC27 #27ACA9
split-complementary
#6627AC #ACA927 #2BAC27
monochromatic
#2B1048 #481C7A #6627AC #843DD3 #A46FDE

Accessibility & contrast

On white

8.57
#6627AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6627AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6627AC#FFFFFF#000000##FFFFFF
##6627AC1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#554A69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6627ac;
/* rgb */ color: rgb(102, 39, 172);
/* oklch */ color: oklch(44.1% 0.196 299.7);
Tailwind
colors: {
  custom: {
    50: '#9868c6',
    500: '#6627ac',
    950: '#000000',
  },
}
SCSS
$custom: #6627ac;
$custom-light: #9868c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6627ac",
  "rgb": {
    "r": 102,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 268.421,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44123,
    "c": 0.19563,
    "h": 299.7
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#6627AC
secondary
#9AC56A
accent
#E64298
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6627AC

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

Preview Lab → · Contrast checker → · Palette generator →

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