#6626AA#6626AA

#6626AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.8% C 0.195 H 300.3°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6626AA
RGBrgb(102, 38, 170)
HSLhsl(269, 63%, 41%)
HSVhsv(269, 78%, 67%)
CMYKcmyk(40%, 77.6%, 0%, 33.3%)
CIE-LABlab(32.06, 53.23, -58.79)
CIE-LCHlch(32.06, 79.31, 312.16°)
OKLaboklab(43.85% 0.0982 -0.168)
OKLCHoklch(43.85% 0.195 300.3)
XYZxyz(13.4265, 7.1132, 38.6880)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626AA #6AAA26
analogous
#2628AA #6626AA #A826AA
triadic
#6626AA #AA6626 #26AA66
tetradic
#6626AA #AA2628 #6AAA26 #26AAA8
square
#6626AA #AA2628 #6AAA26 #26AAA8
split-complementary
#6626AA #AAA826 #28AA26
monochromatic
#2A1046 #481B78 #6626AA #843AD3 #A36CDE

Accessibility & contrast

On white

8.67
#6626AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6626AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6626AA
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6626AA#FFFFFF#000000##FFFFFF
##6626AA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#564967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6626aa;
/* rgb */ color: rgb(102, 38, 170);
/* oklch */ color: oklch(43.8% 0.195 300.3);
Tailwind
colors: {
  custom: {
    50: '#9868c4',
    500: '#6626aa',
    950: '#000000',
  },
}
SCSS
$custom: #6626aa;
$custom-light: #9868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6626aa",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 170
  },
  "hsl": {
    "h": 269.091,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43849,
    "c": 0.19457,
    "h": 300.3
  },
  "luminance": 0.07113
}

Semantic roles & 50–950 ramp

primary
#6626AA
secondary
#97C567
accent
#E64196
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6626AA

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

Preview Lab → · Contrast checker → · Palette generator →

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