#6636BB#6636BB

#6636BB is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.196 H 294.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6636BB
RGBrgb(102, 54, 187)
HSLhsl(262, 55%, 47%)
HSVhsv(262, 71%, 73%)
CMYKcmyk(45.5%, 71.1%, 0%, 26.7%)
CIE-LABlab(36.08, 50.24, -62.34)
CIE-LCHlch(36.08, 80.06, 308.87°)
OKLaboklab(47.12% 0.0798 -0.1785)
OKLCHoklch(47.12% 0.196 294.1)
XYZxyz(15.7659, 9.0505, 47.9203)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6636BB #8BBB36
analogous
#3649BB #6636BB #A936BB
triadic
#6636BB #BB6636 #36BB66
tetradic
#6636BB #BB3649 #8BBB36 #36BBA9
square
#6636BB #BB3649 #8BBB36 #36BBA9
split-complementary
#6636BB #BBA936 #49BB36
monochromatic
#321B5C #4C288C #6636BB #875ED0 #AA8DDE

Accessibility & contrast

On white

7.47
#6636BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6636BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6636BB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6636BB#FFFFFF#000000##FFFFFF
##6636BB1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6636bb;
/* rgb */ color: rgb(102, 54, 187);
/* oklch */ color: oklch(47.1% 0.196 294.1);
Tailwind
colors: {
  custom: {
    50: '#9971d0',
    500: '#6636bb',
    950: '#000000',
  },
}
SCSS
$custom: #6636bb;
$custom-light: #9971d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6636bb",
  "rgb": {
    "r": 102,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 261.654,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47123,
    "c": 0.19556,
    "h": 294.1
  },
  "luminance": 0.09051
}

Semantic roles & 50–950 ramp

primary
#6636BB
secondary
#B0C984
accent
#DF49A9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6636BB

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

Preview Lab → · Contrast checker → · Palette generator →

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