#6639D9#6639D9

#6639D9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.1% C 0.226 H 288.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6639D9
RGBrgb(102, 57, 217)
HSLhsl(257, 68%, 54%)
HSVhsv(257, 74%, 85%)
CMYKcmyk(53%, 73.7%, 0%, 14.9%)
CIE-LABlab(39.17, 56.90, -74.72)
CIE-LCHlch(39.17, 93.91, 307.29°)
OKLaboklab(50.1% 0.0706 -0.2148)
OKLCHoklch(50.1% 0.226 288.2)
XYZxyz(19.4633, 10.7598, 66.6835)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639D9 #ACD939
analogous
#395CD9 #6639D9 #B639D9
triadic
#6639D9 #D96639 #39D966
tetradic
#6639D9 #D9395C #ACD939 #39D9B6
square
#6639D9 #D9395C #ACD939 #39D9B6
split-complementary
#6639D9 #D9B639 #5CD939
monochromatic
#35187F #4B22B3 #6639D9 #8E6CE3 #B5A0ED

Accessibility & contrast

On white

6.66
#6639D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6639D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6639D9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639D9#FFFFFF#000000##FFFFFF
##6639D91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#386586
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6639d9;
/* rgb */ color: rgb(102, 57, 217);
/* oklch */ color: oklch(50.1% 0.226 288.2);
Tailwind
colors: {
  custom: {
    50: '#9d74e6',
    500: '#6639d9',
    950: '#000000',
  },
}
SCSS
$custom: #6639d9;
$custom-light: #9d74e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6639d9",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 256.875,
    "s": 67.797,
    "l": 53.725
  },
  "oklch": {
    "l": 0.501,
    "c": 0.22616,
    "h": 288.2
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#6639D9
secondary
#C6D995
accent
#EB3DBA
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6639D9

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

Preview Lab → · Contrast checker → · Palette generator →

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