#6626A7#6626A7

#6626A7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.191 H 301.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#6626A7
RGBrgb(102, 38, 167)
HSLhsl(270, 63%, 40%)
HSVhsv(270, 77%, 65%)
CMYKcmyk(38.9%, 77.2%, 0%, 34.5%)
CIE-LABlab(31.81, 52.50, -57.40)
CIE-LCHlch(31.81, 77.79, 312.45°)
OKLaboklab(43.59% 0.099 -0.1639)
OKLCHoklch(43.59% 0.191 301.1)
XYZxyz(13.1459, 7.0009, 37.2105)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626A7 #67A726
analogous
#2627A7 #6626A7 #A626A7
triadic
#6626A7 #A76626 #26A766
tetradic
#6626A7 #A72627 #67A726 #26A7A6
square
#6626A7 #A72627 #67A726 #26A7A6
split-complementary
#6626A7 #A7A626 #27A726
monochromatic
#290F43 #481B75 #6626A7 #8538D2 #A36ADD

Accessibility & contrast

On white

8.75
#6626A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6626A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6626A7#FFFFFF#000000##FFFFFF
##6626A71.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#574865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6626a7;
/* rgb */ color: rgb(102, 38, 167);
/* oklch */ color: oklch(43.6% 0.191 301.1);
Tailwind
colors: {
  custom: {
    50: '#9868c2',
    500: '#6626a7',
    950: '#000000',
  },
}
SCSS
$custom: #6626a7;
$custom-light: #9868c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6626a7",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 269.767,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.19147,
    "h": 301.1
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#6626A7
secondary
#95C365
accent
#E64295
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6626A7

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

Preview Lab → · Contrast checker → · Palette generator →

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