#6639CC#6639CC

#6639CC is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.212 H 290.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6639CC
RGBrgb(102, 57, 204)
HSLhsl(258, 59%, 51%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(50%, 72.1%, 0%, 20%)
CIE-LABlab(38.04, 53.34, -69.07)
CIE-LCHlch(38.04, 87.27, 307.68°)
OKLaboklab(48.95% 0.0736 -0.1983)
OKLCHoklch(48.95% 0.212 290.4)
XYZxyz(17.8386, 10.1099, 58.1265)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639CC #9FCC39
analogous
#3955CC #6639CC #AF39CC
triadic
#6639CC #CC6639 #39CC66
tetradic
#6639CC #CC3955 #9FCC39 #39CCAF
square
#6639CC #CC3955 #9FCC39 #39CCAF
split-complementary
#6639CC #CCAF39 #55CC39
monochromatic
#351C6E #4D299F #6639CC #8C6AD9 #B19AE5

Accessibility & contrast

On white

6.95
#6639CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6639CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6639CC
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639CC#FFFFFF#000000##FFFFFF
##6639CC1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#43607F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6639cc;
/* rgb */ color: rgb(102, 57, 204);
/* oklch */ color: oklch(49.0% 0.212 290.4);
Tailwind
colors: {
  custom: {
    50: '#9b73dd',
    500: '#6639cc',
    950: '#000000',
  },
}
SCSS
$custom: #6639cc;
$custom-light: #9b73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6639cc",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 258.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48952,
    "c": 0.21153,
    "h": 290.4
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#6639CC
secondary
#BDD190
accent
#E246B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6639CC

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

Preview Lab → · Contrast checker → · Palette generator →

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