#6629B1#6629B1

#6629B1 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.199 H 298.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#6629B1
RGBrgb(102, 41, 177)
HSLhsl(267, 62%, 43%)
HSVhsv(267, 77%, 69%)
CMYKcmyk(42.4%, 76.8%, 0%, 30.6%)
CIE-LABlab(33.10, 53.70, -61.28)
CIE-LCHlch(33.10, 81.48, 311.23°)
OKLaboklab(44.76% 0.0938 -0.1753)
OKLCHoklch(44.76% 0.199 298.1)
XYZxyz(14.2062, 7.5847, 42.3020)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629B1 #74B129
analogous
#2930B1 #6629B1 #AA29B1
triadic
#6629B1 #B16629 #29B166
tetradic
#6629B1 #B12930 #74B129 #29B1AA
square
#6629B1 #B12930 #74B129 #29B1AA
split-complementary
#6629B1 #B1AA29 #30B129
monochromatic
#2D124E #491D7F #6629B1 #8444D4 #A575DF

Accessibility & contrast

On white

8.34
#6629B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6629B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6629B1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6629B1#FFFFFF#000000##FFFFFF
##6629B11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB5
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#534D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6629b1;
/* rgb */ color: rgb(102, 41, 177);
/* oklch */ color: oklch(44.8% 0.199 298.1);
Tailwind
colors: {
  custom: {
    50: '#996ac9',
    500: '#6629b1',
    950: '#000000',
  },
}
SCSS
$custom: #6629b1;
$custom-light: #996ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6629b1",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 266.912,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.19883,
    "h": 298.1
  },
  "luminance": 0.07585
}

Semantic roles & 50–950 ramp

primary
#6629B1
secondary
#9FC76F
accent
#E5429C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6629B1

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

Preview Lab → · Contrast checker → · Palette generator →

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