#6639BD#6639BD

#6639BD is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.194 H 293.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6639BD
RGBrgb(102, 57, 189)
HSLhsl(260, 54%, 48%)
HSVhsv(260, 70%, 74%)
CMYKcmyk(46%, 69.8%, 0%, 25.9%)
CIE-LABlab(36.79, 49.26, -62.36)
CIE-LCHlch(36.79, 79.46, 308.31°)
OKLaboklab(47.68% 0.0766 -0.1786)
OKLCHoklch(47.68% 0.194 293.2)
XYZxyz(16.1254, 9.4247, 49.1038)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639BD #90BD39
analogous
#394EBD #6639BD #A839BD
triadic
#6639BD #BD6639 #39BD66
tetradic
#6639BD #BD394E #90BD39 #39BDA8
square
#6639BD #BD394E #90BD39 #39BDA8
split-complementary
#6639BD #BDA839 #4EBD39
monochromatic
#331D5F #4D2B8E #6639BD #8863D0 #AC92DE

Accessibility & contrast

On white

7.28
#6639BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6639BD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639BD#FFFFFF#000000##FFFFFF
##6639BD1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#4C5A77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6639bd;
/* rgb */ color: rgb(102, 57, 189);
/* oklch */ color: oklch(47.7% 0.194 293.2);
Tailwind
colors: {
  custom: {
    50: '#9973d2',
    500: '#6639bd',
    950: '#000000',
  },
}
SCSS
$custom: #6639bd;
$custom-light: #9973d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6639bd",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 189
  },
  "hsl": {
    "h": 260.455,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.19432,
    "h": 293.2
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#6639BD
secondary
#B3C989
accent
#DD4BAB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6639BD

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

Preview Lab → · Contrast checker → · Palette generator →

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