#6629AF#6629AF

#6629AF is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.6% C 0.197 H 298.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#6629AF
RGBrgb(102, 41, 175)
HSLhsl(267, 62%, 42%)
HSVhsv(267, 77%, 69%)
CMYKcmyk(41.7%, 76.6%, 0%, 31.4%)
CIE-LABlab(32.93, 53.20, -60.36)
CIE-LCHlch(32.93, 80.46, 311.39°)
OKLaboklab(44.59% 0.0943 -0.1726)
OKLCHoklch(44.59% 0.197 298.6)
XYZxyz(14.0083, 7.5056, 41.2598)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6629AF #72AF29
analogous
#292FAF #6629AF #A929AF
triadic
#6629AF #AF6629 #29AF66
tetradic
#6629AF #AF292F #72AF29 #29AFA9
square
#6629AF #AF292F #72AF29 #29AFA9
split-complementary
#6629AF #AFA929 #2FAF29
monochromatic
#2C124C #491D7D #6629AF #8442D3 #A474DE

Accessibility & contrast

On white

8.40
#6629AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#6629AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6629AF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6629AF#FFFFFF#000000##FFFFFF
##6629AF1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#544D6B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6629af;
/* rgb */ color: rgb(102, 41, 175);
/* oklch */ color: oklch(44.6% 0.197 298.6);
Tailwind
colors: {
  custom: {
    50: '#9969c8',
    500: '#6629af',
    950: '#000000',
  },
}
SCSS
$custom: #6629af;
$custom-light: #9969c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6629af",
  "rgb": {
    "r": 102,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 267.313,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44589,
    "c": 0.19672,
    "h": 298.6
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#6629AF
secondary
#9EC66E
accent
#E5439B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6629AF

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

Preview Lab → · Contrast checker → · Palette generator →

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