#6639B9#6639B9

#6639B9 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.190 H 294.0°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6639B9
RGBrgb(102, 57, 185)
HSLhsl(261, 53%, 47%)
HSVhsv(261, 69%, 73%)
CMYKcmyk(44.9%, 69.2%, 0%, 27.5%)
CIE-LABlab(36.47, 48.17, -60.53)
CIE-LCHlch(36.47, 77.36, 308.51°)
OKLaboklab(47.35% 0.0773 -0.1732)
OKLCHoklch(47.35% 0.19 294)
XYZxyz(15.6972, 9.2534, 46.8486)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639B9 #8CB939
analogous
#394CB9 #6639B9 #A639B9
triadic
#6639B9 #B96639 #39B966
tetradic
#6639B9 #B9394C #8CB939 #39B9A6
square
#6639B9 #B9394C #8CB939 #39B9A6
split-complementary
#6639B9 #B9A639 #4CB939
monochromatic
#321C5B #4C2B8A #6639B9 #8761CE #AB90DD

Accessibility & contrast

On white

7.37
#6639B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6639B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639B9
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639B9#FFFFFF#000000##FFFFFF
##6639B91.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#4E5975
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6639b9;
/* rgb */ color: rgb(102, 57, 185);
/* oklch */ color: oklch(47.3% 0.190 294.0);
Tailwind
colors: {
  custom: {
    50: '#9973cf',
    500: '#6639b9',
    950: '#000000',
  },
}
SCSS
$custom: #6639b9;
$custom-light: #9973cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6639b9",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 261.094,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47348,
    "c": 0.18969,
    "h": 294
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#6639B9
secondary
#B1C886
accent
#DC4BA9
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6639B9

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

Preview Lab → · Contrast checker → · Palette generator →

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