#6639D2#6639D2

#6639D2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.218 H 289.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#6639D2
RGBrgb(102, 57, 210)
HSLhsl(258, 63%, 52%)
HSVhsv(258, 73%, 82%)
CMYKcmyk(51.4%, 72.9%, 0%, 17.6%)
CIE-LABlab(38.56, 54.98, -71.70)
CIE-LCHlch(38.56, 90.35, 307.48°)
OKLaboklab(49.48% 0.0723 -0.206)
OKLCHoklch(49.48% 0.218 289.3)
XYZxyz(18.5721, 10.4033, 61.9897)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639D2 #A5D239
analogous
#3959D2 #6639D2 #B239D2
triadic
#6639D2 #D26639 #39D266
tetradic
#6639D2 #D23959 #A5D239 #39D2B2
square
#6639D2 #D23959 #A5D239 #39D2B2
split-complementary
#6639D2 #D2B239 #59D239
monochromatic
#361B76 #4C26A8 #6639D2 #8D6BDD #B39DE9

Accessibility & contrast

On white

6.82
#6639D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6639D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6639D2
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639D2#FFFFFF#000000##FFFFFF
##6639D21.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#3E6282
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6639d2;
/* rgb */ color: rgb(102, 57, 210);
/* oklch */ color: oklch(49.5% 0.218 289.3);
Tailwind
colors: {
  custom: {
    50: '#9c74e1',
    500: '#6639d2',
    950: '#000000',
  },
}
SCSS
$custom: #6639d2;
$custom-light: #9c74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6639d2",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 257.647,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49477,
    "c": 0.21832,
    "h": 289.3
  },
  "luminance": 0.10404
}

Semantic roles & 50–950 ramp

primary
#6639D2
secondary
#C1D592
accent
#E642B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6639D2

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

Preview Lab → · Contrast checker → · Palette generator →

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