#6639B4#6639B4

#6639B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.184 H 295.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6639B4
RGBrgb(102, 57, 180)
HSLhsl(262, 52%, 46%)
HSVhsv(262, 68%, 71%)
CMYKcmyk(43.3%, 68.3%, 0%, 29.4%)
CIE-LABlab(36.07, 46.82, -58.21)
CIE-LCHlch(36.07, 74.71, 308.81°)
OKLaboklab(46.94% 0.0781 -0.1664)
OKLCHoklch(46.94% 0.184 295.1)
XYZxyz(15.1786, 9.0460, 44.1175)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639B4 #87B439
analogous
#394AB4 #6639B4 #A439B4
triadic
#6639B4 #B46639 #39B466
tetradic
#6639B4 #B4394A #87B439 #39B4A4
square
#6639B4 #B4394A #87B439 #39B4A4
split-complementary
#6639B4 #B4A439 #4AB439
monochromatic
#311C57 #4C2A86 #6639B4 #865ECC #A98DDB

Accessibility & contrast

On white

7.48
#6639B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6639B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639B4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639B4#FFFFFF#000000##FFFFFF
##6639B41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#515772
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6639b4;
/* rgb */ color: rgb(102, 57, 180);
/* oklch */ color: oklch(46.9% 0.184 295.1);
Tailwind
colors: {
  custom: {
    50: '#9873cb',
    500: '#6639b4',
    950: '#000000',
  },
}
SCSS
$custom: #6639b4;
$custom-light: #9873cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6639b4",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 261.951,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46942,
    "c": 0.18383,
    "h": 295.1
  },
  "luminance": 0.09046
}

Semantic roles & 50–950 ramp

primary
#6639B4
secondary
#ADC583
accent
#DB4CA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6639B4

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

Preview Lab → · Contrast checker → · Palette generator →

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