#6635AE#6635AE

#6635AE is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.182 H 297.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6635AE
RGBrgb(102, 53, 174)
HSLhsl(264, 53%, 45%)
HSVhsv(264, 70%, 68%)
CMYKcmyk(41.4%, 69.5%, 0%, 31.8%)
CIE-LABlab(34.86, 47.28, -56.63)
CIE-LCHlch(34.86, 73.77, 309.86°)
OKLaboklab(45.93% 0.0832 -0.1617)
OKLCHoklch(45.93% 0.182 297.2)
XYZxyz(14.3906, 8.4267, 40.9045)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635AE #7DAE35
analogous
#3540AE #6635AE #A335AE
triadic
#6635AE #AE6635 #35AE66
tetradic
#6635AE #AE3540 #7DAE35 #35AEA3
square
#6635AE #AE3540 #7DAE35 #35AEA3
split-complementary
#6635AE #AEA335 #40AE35
monochromatic
#2F1850 #4B277F #6635AE #8555CB #A784DA

Accessibility & contrast

On white

7.82
#6635AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6635AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635AE
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635AE#FFFFFF#000000##FFFFFF
##6635AE1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#54526D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6635ae;
/* rgb */ color: rgb(102, 53, 174);
/* oklch */ color: oklch(45.9% 0.182 297.2);
Tailwind
colors: {
  custom: {
    50: '#9870c7',
    500: '#6635ae',
    950: '#000000',
  },
}
SCSS
$custom: #6635ae;
$custom-light: #9870c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6635ae",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 264.298,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45925,
    "c": 0.18187,
    "h": 297.2
  },
  "luminance": 0.08427
}

Semantic roles & 50–950 ramp

primary
#6635AE
secondary
#A6C37C
accent
#DD4BA2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6635AE

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

Preview Lab → · Contrast checker → · Palette generator →

#6635AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva