#6639BE#6639BE

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

Color values

HEX#6639BE
RGBrgb(102, 57, 190)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 70%, 75%)
CMYKcmyk(46.3%, 70%, 0%, 25.5%)
CIE-LABlab(36.87, 49.53, -62.81)
CIE-LCHlch(36.87, 79.99, 308.26°)
OKLaboklab(47.76% 0.0764 -0.1799)
OKLCHoklch(47.76% 0.195 293)
XYZxyz(16.2343, 9.4682, 49.6774)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639BE #91BE39
analogous
#394EBE #6639BE #A839BE
triadic
#6639BE #BE6639 #39BE66
tetradic
#6639BE #BE394E #91BE39 #39BEA8
square
#6639BE #BE394E #91BE39 #39BEA8
split-complementary
#6639BE #BEA839 #4EBE39
monochromatic
#331D60 #4D2B8F #6639BE #8964D0 #AC93DF

Accessibility & contrast

On white

7.26
#6639BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6639BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639BE
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639BE#FFFFFF#000000##FFFFFF
##6639BE1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#4C5B77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6639be;
/* rgb */ color: rgb(102, 57, 190);
/* oklch */ color: oklch(47.8% 0.195 293.0);
Tailwind
colors: {
  custom: {
    50: '#9973d3',
    500: '#6639be',
    950: '#000000',
  },
}
SCSS
$custom: #6639be;
$custom-light: #9973d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6639be",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 260.301,
    "s": 53.846,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.19549,
    "h": 293
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#6639BE
secondary
#B4CA89
accent
#DD4BAC
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6639BE

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

Preview Lab → · Contrast checker → · Palette generator →

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