#6637BA#6637BA

#6637BA is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.193 H 294.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6637BA
RGBrgb(102, 55, 186)
HSLhsl(262, 54%, 47%)
HSVhsv(262, 70%, 73%)
CMYKcmyk(45.2%, 70.4%, 0%, 27.1%)
CIE-LABlab(36.18, 49.46, -61.59)
CIE-LCHlch(36.18, 78.99, 308.77°)
OKLaboklab(47.17% 0.0791 -0.1763)
OKLCHoklch(47.17% 0.193 294.2)
XYZxyz(15.7062, 9.1019, 47.3742)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637BA #8BBA37
analogous
#3749BA #6637BA #A837BA
triadic
#6637BA #BA6637 #37BA66
tetradic
#6637BA #BA3749 #8BBA37 #37BAA8
square
#6637BA #BA3749 #8BBA37 #37BAA8
split-complementary
#6637BA #BAA837 #49BA37
monochromatic
#321B5C #4C298B #6637BA #875FD0 #AA8EDE

Accessibility & contrast

On white

7.45
#6637BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6637BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637BA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637BA#FFFFFF#000000##FFFFFF
##6637BA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#4E5874
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6637ba;
/* rgb */ color: rgb(102, 55, 186);
/* oklch */ color: oklch(47.2% 0.193 294.2);
Tailwind
colors: {
  custom: {
    50: '#9972d0',
    500: '#6637ba',
    950: '#000000',
  },
}
SCSS
$custom: #6637ba;
$custom-light: #9972d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6637ba",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 261.527,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47168,
    "c": 0.19324,
    "h": 294.2
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#6637BA
secondary
#B0C885
accent
#DE4AA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6637BA

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

Preview Lab → · Contrast checker → · Palette generator →

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