#6626AE#6626AE

#6626AE is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.199 H 299.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#6626AE
RGBrgb(102, 38, 174)
HSLhsl(268, 64%, 42%)
HSVhsv(268, 78%, 68%)
CMYKcmyk(41.4%, 78.2%, 0%, 31.8%)
CIE-LABlab(32.41, 54.21, -60.62)
CIE-LCHlch(32.41, 81.33, 311.80°)
OKLaboklab(44.2% 0.0971 -0.1734)
OKLCHoklch(44.2% 0.199 299.2)
XYZxyz(13.8106, 7.2668, 40.7112)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626AE #6EAE26
analogous
#262AAE #6626AE #AA26AE
triadic
#6626AE #AE6626 #26AE66
tetradic
#6626AE #AE262A #6EAE26 #26AEAA
square
#6626AE #AE262A #6EAE26 #26AEAA
split-complementary
#6626AE #AEAA26 #2AAE26
monochromatic
#2B104A #491B7C #6626AE #843DD5 #A46FE0

Accessibility & contrast

On white

8.56
#6626AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6626AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6626AE#FFFFFF#000000##FFFFFF
##6626AE1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#004BAB
Tritanopia (blue-blind)
#544B69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6626ae;
/* rgb */ color: rgb(102, 38, 174);
/* oklch */ color: oklch(44.2% 0.199 299.2);
Tailwind
colors: {
  custom: {
    50: '#9968c7',
    500: '#6626ae',
    950: '#000000',
  },
}
SCSS
$custom: #6626ae;
$custom-light: #9968c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6626ae",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 268.235,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44195,
    "c": 0.19871,
    "h": 299.2
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#6626AE
secondary
#9BC66A
accent
#E74199
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6626AE

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

Preview Lab → · Contrast checker → · Palette generator →

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