#6637BC#6637BC

#6637BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.196 H 293.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6637BC
RGBrgb(102, 55, 188)
HSLhsl(261, 55%, 48%)
HSVhsv(261, 71%, 74%)
CMYKcmyk(45.7%, 70.7%, 0%, 26.3%)
CIE-LABlab(36.34, 50.00, -62.50)
CIE-LCHlch(36.34, 80.04, 308.66°)
OKLaboklab(47.34% 0.0787 -0.179)
OKLCHoklch(47.34% 0.196 293.7)
XYZxyz(15.9203, 9.1875, 48.5018)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637BC #8DBC37
analogous
#374ABC #6637BC #A937BC
triadic
#6637BC #BC6637 #37BC66
tetradic
#6637BC #BC374A #8DBC37 #37BCA9
square
#6637BC #BC374A #8DBC37 #37BCA9
split-complementary
#6637BC #BCA937 #4ABC37
monochromatic
#331B5D #4C298D #6637BC #8860D0 #AB8FDE

Accessibility & contrast

On white

7.40
#6637BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6637BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637BC
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637BC#FFFFFF#000000##FFFFFF
##6637BC1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#4D5976
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6637bc;
/* rgb */ color: rgb(102, 55, 188);
/* oklch */ color: oklch(47.3% 0.196 293.7);
Tailwind
colors: {
  custom: {
    50: '#9972d1',
    500: '#6637bc',
    950: '#000000',
  },
}
SCSS
$custom: #6637bc;
$custom-light: #9972d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6637bc",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 261.203,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.19553,
    "h": 293.7
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#6637BC
secondary
#B1C986
accent
#DE4AAA
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6637BC

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

Preview Lab → · Contrast checker → · Palette generator →

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