#6629A2#6629A2

#6629A2 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.183 H 302.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#6629A2
RGBrgb(102, 41, 162)
HSLhsl(270, 60%, 40%)
HSVhsv(270, 75%, 64%)
CMYKcmyk(37%, 74.7%, 0%, 36.5%)
CIE-LABlab(31.85, 49.98, -54.31)
CIE-LCHlch(31.85, 73.81, 312.62°)
OKLaboklab(43.49% 0.0974 -0.1549)
OKLCHoklch(43.49% 0.183 302.2)
XYZxyz(12.7925, 7.0193, 34.8563)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629A2 #65A229
analogous
#2A29A2 #6629A2 #A229A2
triadic
#6629A2 #A26629 #29A266
tetradic
#6629A2 #A22A29 #65A229 #29A2A2
square
#6629A2 #A22A29 #65A229 #29A2A2
split-complementary
#6629A2 #A2A229 #29A22A
monochromatic
#281040 #471D71 #6629A2 #853BCD #A36CDA

Accessibility & contrast

On white

8.74
#6629A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6629A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6629A2
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6629A2#FFFFFF#000000##FFFFFF
##6629A21.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#594763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6629a2;
/* rgb */ color: rgb(102, 41, 162);
/* oklch */ color: oklch(43.5% 0.183 302.2);
Tailwind
colors: {
  custom: {
    50: '#9769be',
    500: '#6629a2',
    950: '#000000',
  },
}
SCSS
$custom: #6629a2;
$custom-light: #9769be;
$custom-dark: #000000;
JSON
{
  "hex": "#6629a2",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 270.248,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.18297,
    "h": 302.2
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#6629A2
secondary
#93C067
accent
#E34593
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6629A2

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

Preview Lab → · Contrast checker → · Palette generator →

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