#6639BC#6639BC

#6639BC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.193 H 293.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6639BC
RGBrgb(102, 57, 188)
HSLhsl(261, 53%, 48%)
HSVhsv(261, 70%, 74%)
CMYKcmyk(45.7%, 69.7%, 0%, 26.3%)
CIE-LABlab(36.71, 48.98, -61.90)
CIE-LCHlch(36.71, 78.94, 308.36°)
OKLaboklab(47.6% 0.0768 -0.1772)
OKLCHoklch(47.6% 0.193 293.4)
XYZxyz(16.0172, 9.3814, 48.5341)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639BC #8FBC39
analogous
#394DBC #6639BC #A739BC
triadic
#6639BC #BC6639 #39BC66
tetradic
#6639BC #BC394D #8FBC39 #39BCA7
square
#6639BC #BC394D #8FBC39 #39BCA7
split-complementary
#6639BC #BCA739 #4DBC39
monochromatic
#331D5E #4D2B8D #6639BC #8863D0 #AC92DE

Accessibility & contrast

On white

7.30
#6639BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6639BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639BC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639BC#FFFFFF#000000##FFFFFF
##6639BC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#4D5A76
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6639bc;
/* rgb */ color: rgb(102, 57, 188);
/* oklch */ color: oklch(47.6% 0.193 293.4);
Tailwind
colors: {
  custom: {
    50: '#9973d1',
    500: '#6639bc',
    950: '#000000',
  },
}
SCSS
$custom: #6639bc;
$custom-light: #9973d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6639bc",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 260.611,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.19317,
    "h": 293.4
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6639BC

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

Preview Lab → · Contrast checker → · Palette generator →

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