#6635BD#6635BD

#6635BD is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.199 H 293.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6635BD
RGBrgb(102, 53, 189)
HSLhsl(262, 56%, 47%)
HSVhsv(262, 72%, 74%)
CMYKcmyk(46%, 72%, 0%, 25.9%)
CIE-LABlab(36.07, 51.27, -63.53)
CIE-LCHlch(36.07, 81.64, 308.90°)
OKLaboklab(47.17% 0.0804 -0.182)
OKLCHoklch(47.17% 0.199 293.8)
XYZxyz(15.9354, 9.0446, 49.0404)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635BD #8CBD35
analogous
#3548BD #6635BD #AA35BD
triadic
#6635BD #BD6635 #35BD66
tetradic
#6635BD #BD3548 #8CBD35 #35BDAA
square
#6635BD #BD3548 #8CBD35 #35BDAA
split-complementary
#6635BD #BDAA35 #48BD35
monochromatic
#321A5D #4C288D #6635BD #875DD2 #AB8DDF

Accessibility & contrast

On white

7.48
#6635BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6635BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635BD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635BD#FFFFFF#000000##FFFFFF
##6635BD1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#4C5876
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6635bd;
/* rgb */ color: rgb(102, 53, 189);
/* oklch */ color: oklch(47.2% 0.199 293.8);
Tailwind
colors: {
  custom: {
    50: '#9971d2',
    500: '#6635bd',
    950: '#000000',
  },
}
SCSS
$custom: #6635bd;
$custom-light: #9971d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6635bd",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 189
  },
  "hsl": {
    "h": 261.618,
    "s": 56.198,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47167,
    "c": 0.19897,
    "h": 293.8
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#6635BD
secondary
#B1CA84
accent
#DF48A9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6635BD

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

Preview Lab → · Contrast checker → · Palette generator →

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