#6639B7#6639B7

#6639B7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.187 H 294.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#6639B7
RGBrgb(102, 57, 183)
HSLhsl(261, 53%, 47%)
HSVhsv(261, 69%, 72%)
CMYKcmyk(44.3%, 68.9%, 0%, 28.2%)
CIE-LABlab(36.31, 47.63, -59.61)
CIE-LCHlch(36.31, 76.30, 308.63°)
OKLaboklab(47.19% 0.0776 -0.1705)
OKLCHoklch(47.19% 0.187 294.5)
XYZxyz(15.4876, 9.1695, 45.7445)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639B7 #8AB739
analogous
#394BB7 #6639B7 #A539B7
triadic
#6639B7 #B76639 #39B766
tetradic
#6639B7 #B7394B #8AB739 #39B7A5
square
#6639B7 #B7394B #8AB739 #39B7A5
split-complementary
#6639B7 #B7A539 #4BB739
monochromatic
#321C5A #4C2A88 #6639B7 #8760CD #AA8EDC

Accessibility & contrast

On white

7.41
#6639B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6639B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639B7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639B7#FFFFFF#000000##FFFFFF
##6639B71.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#4F5873
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6639b7;
/* rgb */ color: rgb(102, 57, 183);
/* oklch */ color: oklch(47.2% 0.187 294.5);
Tailwind
colors: {
  custom: {
    50: '#9873ce',
    500: '#6639b7',
    950: '#000000',
  },
}
SCSS
$custom: #6639b7;
$custom-light: #9873ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6639b7",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 261.429,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47185,
    "c": 0.18735,
    "h": 294.5
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#6639B7
secondary
#AFC785
accent
#DC4CA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #6639B7

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

Preview Lab → · Contrast checker → · Palette generator →

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