#6639B5#6639B5

#6639B5 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.0% C 0.185 H 294.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6639B5
RGBrgb(102, 57, 181)
HSLhsl(262, 52%, 47%)
HSVhsv(262, 69%, 71%)
CMYKcmyk(43.6%, 68.5%, 0%, 29%)
CIE-LABlab(36.15, 47.09, -58.68)
CIE-LCHlch(36.15, 75.24, 308.75°)
OKLaboklab(47.02% 0.078 -0.1678)
OKLCHoklch(47.02% 0.185 294.9)
XYZxyz(15.2809, 9.0868, 44.6559)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639B5 #88B539
analogous
#394AB5 #6639B5 #A439B5
triadic
#6639B5 #B56639 #39B566
tetradic
#6639B5 #B5394A #88B539 #39B5A4
square
#6639B5 #B5394A #88B539 #39B5A4
split-complementary
#6639B5 #B5A439 #4AB539
monochromatic
#321C58 #4C2A86 #6639B5 #875FCD #AA8DDB

Accessibility & contrast

On white

7.45
#6639B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6639B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639B5
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639B5#FFFFFF#000000##FFFFFF
##6639B51.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#505772
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6639b5;
/* rgb */ color: rgb(102, 57, 181);
/* oklch */ color: oklch(47.0% 0.185 294.9);
Tailwind
colors: {
  custom: {
    50: '#9873cc',
    500: '#6639b5',
    950: '#000000',
  },
}
SCSS
$custom: #6639b5;
$custom-light: #9873cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6639b5",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 261.774,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47023,
    "c": 0.18501,
    "h": 294.9
  },
  "luminance": 0.09087
}

Semantic roles & 50–950 ramp

primary
#6639B5
secondary
#AEC684
accent
#DC4CA8
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6639B5

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

Preview Lab → · Contrast checker → · Palette generator →

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