#6639C2#6639C2

#6639C2 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.1% C 0.200 H 292.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6639C2
RGBrgb(102, 57, 194)
HSLhsl(260, 55%, 49%)
HSVhsv(260, 71%, 76%)
CMYKcmyk(47.4%, 70.6%, 0%, 23.9%)
CIE-LABlab(37.20, 50.62, -64.62)
CIE-LCHlch(37.20, 82.08, 308.07°)
OKLaboklab(48.1% 0.0757 -0.1852)
OKLCHoklch(48.1% 0.2 292.2)
XYZxyz(16.6775, 9.6455, 52.0115)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639C2 #95C239
analogous
#3951C2 #6639C2 #AB39C2
triadic
#6639C2 #C26639 #39C266
tetradic
#6639C2 #C23951 #95C239 #39C2AB
square
#6639C2 #C23951 #95C239 #39C2AB
split-complementary
#6639C2 #C2AB39 #51C239
monochromatic
#341D63 #4D2B93 #6639C2 #8A66D2 #AE95E0

Accessibility & contrast

On white

7.17
#6639C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6639C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639C2
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639C2#FFFFFF#000000##FFFFFF
##6639C21.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#495C79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6639c2;
/* rgb */ color: rgb(102, 57, 194);
/* oklch */ color: oklch(48.1% 0.200 292.2);
Tailwind
colors: {
  custom: {
    50: '#9a73d5',
    500: '#6639c2',
    950: '#000000',
  },
}
SCSS
$custom: #6639c2;
$custom-light: #9a73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6639c2",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 259.708,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.2001,
    "h": 292.2
  },
  "luminance": 0.09646
}

Semantic roles & 50–950 ramp

primary
#6639C2
secondary
#B6CB8B
accent
#DE4AAD
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6639C2

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

Preview Lab → · Contrast checker → · Palette generator →

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