#6626A6#6626A6

#6626A6 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.190 H 301.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6626A6
RGBrgb(102, 38, 166)
HSLhsl(270, 63%, 40%)
HSVhsv(270, 77%, 65%)
CMYKcmyk(38.6%, 77.1%, 0%, 34.9%)
CIE-LABlab(31.73, 52.26, -56.93)
CIE-LCHlch(31.73, 77.28, 312.55°)
OKLaboklab(43.51% 0.0992 -0.1625)
OKLCHoklch(43.51% 0.19 301.4)
XYZxyz(13.0539, 6.9641, 36.7255)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626A6 #66A626
analogous
#2626A6 #6626A6 #A626A6
triadic
#6626A6 #A66626 #26A666
tetradic
#6626A6 #A62626 #66A626 #26A6A6
square
#6626A6 #A62626 #66A626 #26A6A6
split-complementary
#6626A6 #A6A626 #26A626
monochromatic
#290F42 #471B74 #6626A6 #8538D1 #A36ADD

Accessibility & contrast

On white

8.78
#6626A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6626A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6626A6#FFFFFF#000000##FFFFFF
##6626A61.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#584865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6626a6;
/* rgb */ color: rgb(102, 38, 166);
/* oklch */ color: oklch(43.5% 0.190 301.4);
Tailwind
colors: {
  custom: {
    50: '#9868c1',
    500: '#6626a6',
    950: '#000000',
  },
}
SCSS
$custom: #6626a6;
$custom-light: #9868c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6626a6",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 270,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.43507,
    "c": 0.19043,
    "h": 301.4
  },
  "luminance": 0.06964
}

Semantic roles & 50–950 ramp

primary
#6626A6
secondary
#94C365
accent
#E64294
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6626A6

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

Preview Lab → · Contrast checker → · Palette generator →

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