#6637B2#6637B2

#6637B2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.5% C 0.184 H 295.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6637B2
RGBrgb(102, 55, 178)
HSLhsl(263, 53%, 46%)
HSVhsv(263, 69%, 70%)
CMYKcmyk(42.7%, 69.1%, 0%, 30.2%)
CIE-LABlab(35.54, 47.32, -57.90)
CIE-LCHlch(35.54, 74.77, 309.26°)
OKLaboklab(46.51% 0.0805 -0.1655)
OKLCHoklch(46.51% 0.184 295.9)
XYZxyz(14.8794, 8.7712, 43.0199)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637B2 #83B237
analogous
#3745B2 #6637B2 #A337B2
triadic
#6637B2 #B26637 #37B266
tetradic
#6637B2 #B23745 #83B237 #37B2A3
square
#6637B2 #B23745 #83B237 #37B2A3
split-complementary
#6637B2 #B2A337 #45B237
monochromatic
#301A54 #4B2983 #6637B2 #865ACC #A889DB

Accessibility & contrast

On white

7.62
#6637B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6637B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637B2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637B2#FFFFFF#000000##FFFFFF
##6637B21.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#525570
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6637b2;
/* rgb */ color: rgb(102, 55, 178);
/* oklch */ color: oklch(46.5% 0.184 295.9);
Tailwind
colors: {
  custom: {
    50: '#9871ca',
    500: '#6637b2',
    950: '#000000',
  },
}
SCSS
$custom: #6637b2;
$custom-light: #9871ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6637b2",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 262.927,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.18401,
    "h": 295.9
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#6637B2
secondary
#AAC580
accent
#DC4CA5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6637B2

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

Preview Lab → · Contrast checker → · Palette generator →

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