#6629B2#6629B2

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

Color values

HEX#6629B2
RGBrgb(102, 41, 178)
HSLhsl(267, 63%, 43%)
HSVhsv(267, 77%, 70%)
CMYKcmyk(42.7%, 77%, 0%, 30.2%)
CIE-LABlab(33.19, 53.95, -61.73)
CIE-LCHlch(33.19, 81.98, 311.15°)
OKLaboklab(44.85% 0.0935 -0.1767)
OKLCHoklch(44.85% 0.2 297.9)
XYZxyz(14.3062, 7.6248, 42.8288)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629B2 #75B229
analogous
#2931B2 #6629B2 #AA29B2
triadic
#6629B2 #B26629 #29B266
tetradic
#6629B2 #B22931 #75B229 #29B2AA
square
#6629B2 #B22931 #75B229 #29B2AA
split-complementary
#6629B2 #B2AA29 #31B229
monochromatic
#2D124F #491E80 #6629B2 #8444D4 #A576DF

Accessibility & contrast

On white

8.32
#6629B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6629B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6629B2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6629B2#FFFFFF#000000##FFFFFF
##6629B21.008.322.538.32
#FFFFFF8.321.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#534E6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6629b2;
/* rgb */ color: rgb(102, 41, 178);
/* oklch */ color: oklch(44.8% 0.200 297.9);
Tailwind
colors: {
  custom: {
    50: '#996aca',
    500: '#6629b2',
    950: '#000000',
  },
}
SCSS
$custom: #6629b2;
$custom-light: #996aca;
$custom-dark: #000000;
JSON
{
  "hex": "#6629b2",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 266.715,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44849,
    "c": 0.19988,
    "h": 297.9
  },
  "luminance": 0.07625
}

Semantic roles & 50–950 ramp

primary
#6629B2
secondary
#A0C770
accent
#E6429D
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6629B2

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

Preview Lab → · Contrast checker → · Palette generator →

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