#6635B5#6635B5

#6635B5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.190 H 295.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6635B5
RGBrgb(102, 53, 181)
HSLhsl(263, 55%, 46%)
HSVhsv(263, 71%, 71%)
CMYKcmyk(43.6%, 70.7%, 0%, 29%)
CIE-LABlab(35.41, 49.14, -59.88)
CIE-LCHlch(35.41, 77.46, 309.37°)
OKLaboklab(46.5% 0.0819 -0.1713)
OKLCHoklch(46.5% 0.19 295.6)
XYZxyz(15.0909, 8.7068, 44.5926)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6635B5 #84B535
analogous
#3544B5 #6635B5 #A635B5
triadic
#6635B5 #B56635 #35B566
tetradic
#6635B5 #B53544 #84B535 #35B5A6
square
#6635B5 #B53544 #84B535 #35B5A6
split-complementary
#6635B5 #B5A635 #44B535
monochromatic
#311956 #4B2786 #6635B5 #8659CE #A888DC

Accessibility & contrast

On white

7.66
#6635B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6635B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6635B5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6635B5#FFFFFF#000000##FFFFFF
##6635B51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#515571
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6635b5;
/* rgb */ color: rgb(102, 53, 181);
/* oklch */ color: oklch(46.5% 0.190 295.6);
Tailwind
colors: {
  custom: {
    50: '#9870cc',
    500: '#6635b5',
    950: '#000000',
  },
}
SCSS
$custom: #6635b5;
$custom-light: #9870cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6635b5",
  "rgb": {
    "r": 102,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 262.969,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46497,
    "c": 0.18989,
    "h": 295.6
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#6635B5
secondary
#ABC680
accent
#DE4AA5
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6635B5

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

Preview Lab → · Contrast checker → · Palette generator →

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