#6637BB#6637BB

#6637BB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.194 H 293.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6637BB
RGBrgb(102, 55, 187)
HSLhsl(261, 55%, 47%)
HSVhsv(261, 71%, 73%)
CMYKcmyk(45.5%, 70.6%, 0%, 26.7%)
CIE-LABlab(36.26, 49.73, -62.04)
CIE-LCHlch(36.26, 79.51, 308.72°)
OKLaboklab(47.25% 0.0789 -0.1777)
OKLCHoklch(47.25% 0.194 293.9)
XYZxyz(15.8129, 9.1446, 47.9360)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6637BB #8CBB37
analogous
#374ABB #6637BB #A837BB
triadic
#6637BB #BB6637 #37BB66
tetradic
#6637BB #BB374A #8CBB37 #37BBA8
square
#6637BB #BB374A #8CBB37 #37BBA8
split-complementary
#6637BB #BBA837 #4ABB37
monochromatic
#321B5C #4C298C #6637BB #875FD0 #AB8EDE

Accessibility & contrast

On white

7.42
#6637BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6637BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6637BB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6637BB#FFFFFF#000000##FFFFFF
##6637BB1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#4D5875
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6637bb;
/* rgb */ color: rgb(102, 55, 187);
/* oklch */ color: oklch(47.3% 0.194 293.9);
Tailwind
colors: {
  custom: {
    50: '#9972d0',
    500: '#6637bb',
    950: '#000000',
  },
}
SCSS
$custom: #6637bb;
$custom-light: #9972d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6637bb",
  "rgb": {
    "r": 102,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 261.364,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.19438,
    "h": 293.9
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6637BB

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

Preview Lab → · Contrast checker → · Palette generator →

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