#6639BA#6639BA

#6639BA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.191 H 293.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6639BA
RGBrgb(102, 57, 186)
HSLhsl(261, 53%, 48%)
HSVhsv(261, 69%, 73%)
CMYKcmyk(45.2%, 69.4%, 0%, 27.1%)
CIE-LABlab(36.55, 48.44, -60.99)
CIE-LCHlch(36.55, 77.88, 308.46°)
OKLaboklab(47.43% 0.0771 -0.1746)
OKLCHoklch(47.43% 0.191 293.8)
XYZxyz(15.8031, 9.2958, 47.4065)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639BA #8DBA39
analogous
#394DBA #6639BA #A639BA
triadic
#6639BA #BA6639 #39BA66
tetradic
#6639BA #BA394D #8DBA39 #39BAA6
square
#6639BA #BA394D #8DBA39 #39BAA6
split-complementary
#6639BA #BAA639 #4DBA39
monochromatic
#331C5C #4C2B8B #6639BA #8861CF #AB90DD

Accessibility & contrast

On white

7.34
#6639BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6639BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639BA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639BA#FFFFFF#000000##FFFFFF
##6639BA1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6639ba;
/* rgb */ color: rgb(102, 57, 186);
/* oklch */ color: oklch(47.4% 0.191 293.8);
Tailwind
colors: {
  custom: {
    50: '#9973d0',
    500: '#6639ba',
    950: '#000000',
  },
}
SCSS
$custom: #6639ba;
$custom-light: #9973d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6639ba",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 260.93,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.19084,
    "h": 293.8
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#6639BA
secondary
#B1C887
accent
#DC4BAA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6639BA

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

Preview Lab → · Contrast checker → · Palette generator →

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