#6639BF#6639BF

#6639BF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.197 H 292.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6639BF
RGBrgb(102, 57, 191)
HSLhsl(260, 54%, 49%)
HSVhsv(260, 70%, 75%)
CMYKcmyk(46.6%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.95, 49.80, -63.27)
CIE-LCHlch(36.95, 80.51, 308.21°)
OKLaboklab(47.84% 0.0762 -0.1813)
OKLCHoklch(47.84% 0.197 292.8)
XYZxyz(16.3440, 9.5121, 50.2550)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639BF #92BF39
analogous
#394FBF #6639BF #A939BF
triadic
#6639BF #BF6639 #39BF66
tetradic
#6639BF #BF394F #92BF39 #39BFA9
square
#6639BF #BF394F #92BF39 #39BFA9
split-complementary
#6639BF #BFA939 #4FBF39
monochromatic
#341D61 #4D2B90 #6639BF #8964D1 #AD93DF

Accessibility & contrast

On white

7.23
#6639BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6639BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639BF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639BF#FFFFFF#000000##FFFFFF
##6639BF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#4B5B78
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6639bf;
/* rgb */ color: rgb(102, 57, 191);
/* oklch */ color: oklch(47.8% 0.197 292.8);
Tailwind
colors: {
  custom: {
    50: '#9973d3',
    500: '#6639bf',
    950: '#000000',
  },
}
SCSS
$custom: #6639bf;
$custom-light: #9973d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6639bf",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 260.149,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.19664,
    "h": 292.8
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#6639BF
secondary
#B4CA8A
accent
#DD4AAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6639BF

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

Preview Lab → · Contrast checker → · Palette generator →

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