#6626A2#6626A2

#6626A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.186 H 302.5°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6626A2
RGBrgb(102, 38, 162)
HSLhsl(271, 62%, 39%)
HSVhsv(271, 77%, 64%)
CMYKcmyk(37%, 76.5%, 0%, 36.5%)
CIE-LABlab(31.39, 51.29, -55.06)
CIE-LCHlch(31.39, 75.25, 312.97°)
OKLaboklab(43.17% 0.1002 -0.157)
OKLCHoklch(43.17% 0.186 302.5)
XYZxyz(12.6926, 6.8196, 34.8230)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6626A2 #62A226
analogous
#2826A2 #6626A2 #A226A0
triadic
#6626A2 #A26626 #26A266
tetradic
#6626A2 #A22826 #62A226 #26A0A2
square
#6626A2 #A22826 #62A226 #26A0A2
split-complementary
#6626A2 #A0A226 #26A228
monochromatic
#280F3F #471A70 #6626A2 #8535D0 #A367DB

Accessibility & contrast

On white

8.88
#6626A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6626A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6626A2#FFFFFF#000000##FFFFFF
##6626A21.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#594663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6626a2;
/* rgb */ color: rgb(102, 38, 162);
/* oklch */ color: oklch(43.2% 0.186 302.5);
Tailwind
colors: {
  custom: {
    50: '#9767be',
    500: '#6626a2',
    950: '#000000',
  },
}
SCSS
$custom: #6626a2;
$custom-light: #9767be;
$custom-dark: #000000;
JSON
{
  "hex": "#6626a2",
  "rgb": {
    "r": 102,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 270.968,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.18629,
    "h": 302.5
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6626A2
secondary
#90C163
accent
#E54391
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6626A2

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

Preview Lab → · Contrast checker → · Palette generator →

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