#6639B8#6639B8

#6639B8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.189 H 294.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6639B8
RGBrgb(102, 57, 184)
HSLhsl(261, 53%, 47%)
HSVhsv(261, 69%, 72%)
CMYKcmyk(44.6%, 69%, 0%, 27.8%)
CIE-LABlab(36.39, 47.90, -60.07)
CIE-LCHlch(36.39, 76.83, 308.57°)
OKLaboklab(47.27% 0.0775 -0.1719)
OKLCHoklch(47.27% 0.189 294.3)
XYZxyz(15.5920, 9.2113, 46.2946)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639B8 #8BB839
analogous
#394BB8 #6639B8 #A639B8
triadic
#6639B8 #B86639 #39B866
tetradic
#6639B8 #B8394B #8BB839 #39B8A6
square
#6639B8 #B8394B #8BB839 #39B8A6
split-complementary
#6639B8 #B8A639 #4BB839
monochromatic
#321C5B #4C2B89 #6639B8 #8760CE #AA8FDC

Accessibility & contrast

On white

7.39
#6639B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6639B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639B8
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639B8#FFFFFF#000000##FFFFFF
##6639B81.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0053B5
Tritanopia (blue-blind)
#4F5874
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6639b8;
/* rgb */ color: rgb(102, 57, 184);
/* oklch */ color: oklch(47.3% 0.189 294.3);
Tailwind
colors: {
  custom: {
    50: '#9973ce',
    500: '#6639b8',
    950: '#000000',
  },
}
SCSS
$custom: #6639b8;
$custom-light: #9973ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6639b8",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 261.26,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47266,
    "c": 0.18851,
    "h": 294.3
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#6639B8
secondary
#B0C786
accent
#DC4CA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6639B8

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

Preview Lab → · Contrast checker → · Palette generator →

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