#6639BB#6639BB

#6639BB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.192 H 293.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6639BB
RGBrgb(102, 57, 187)
HSLhsl(261, 53%, 48%)
HSVhsv(261, 70%, 73%)
CMYKcmyk(45.5%, 69.5%, 0%, 26.7%)
CIE-LABlab(36.63, 48.71, -61.44)
CIE-LCHlch(36.63, 78.41, 308.41°)
OKLaboklab(47.51% 0.077 -0.1759)
OKLCHoklch(47.51% 0.192 293.6)
XYZxyz(15.9098, 9.3384, 47.9683)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639BB #8EBB39
analogous
#394DBB #6639BB #A739BB
triadic
#6639BB #BB6639 #39BB66
tetradic
#6639BB #BB394D #8EBB39 #39BBA7
square
#6639BB #BB394D #8EBB39 #39BBA7
split-complementary
#6639BB #BBA739 #4DBB39
monochromatic
#331C5D #4C2B8C #6639BB #8862CF #AB91DD

Accessibility & contrast

On white

7.32
#6639BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6639BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639BB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639BB#FFFFFF#000000##FFFFFF
##6639BB1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#4D5976
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6639bb;
/* rgb */ color: rgb(102, 57, 187);
/* oklch */ color: oklch(47.5% 0.192 293.6);
Tailwind
colors: {
  custom: {
    50: '#9973d0',
    500: '#6639bb',
    950: '#000000',
  },
}
SCSS
$custom: #6639bb;
$custom-light: #9973d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6639bb",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 260.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.192,
    "h": 293.6
  },
  "luminance": 0.09339
}

Semantic roles & 50–950 ramp

primary
#6639BB
secondary
#B2C887
accent
#DD4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6639BB

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

Preview Lab → · Contrast checker → · Palette generator →

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