#6639DA#6639DA

#6639DA is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.227 H 288.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6639DA
RGBrgb(102, 57, 218)
HSLhsl(257, 69%, 54%)
HSVhsv(257, 74%, 85%)
CMYKcmyk(53.2%, 73.9%, 0%, 14.5%)
CIE-LABlab(39.26, 57.17, -75.15)
CIE-LCHlch(39.26, 94.42, 307.26°)
OKLaboklab(50.19% 0.0704 -0.2161)
OKLCHoklch(50.19% 0.227 288)
XYZxyz(19.5938, 10.8120, 67.3706)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639DA #ADDA39
analogous
#395DDA #6639DA #B739DA
triadic
#6639DA #DA6639 #39DA66
tetradic
#6639DA #DA395D #ADDA39 #39DAB7
square
#6639DA #DA395D #ADDA39 #39DAB7
split-complementary
#6639DA #DAB739 #5DDA39
monochromatic
#351881 #4B22B4 #6639DA #8E6DE4 #B6A0ED

Accessibility & contrast

On white

6.64
#6639DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6639DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6639DA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639DA#FFFFFF#000000##FFFFFF
##6639DA1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#0058D7
Tritanopia (blue-blind)
#376587
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6639da;
/* rgb */ color: rgb(102, 57, 218);
/* oklch */ color: oklch(50.2% 0.227 288.0);
Tailwind
colors: {
  custom: {
    50: '#9d74e7',
    500: '#6639da',
    950: '#000000',
  },
}
SCSS
$custom: #6639da;
$custom-light: #9d74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6639da",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 256.77,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.22728,
    "h": 288
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#6639DA
secondary
#C7DA95
accent
#EB3CBA
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6639DA

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

Preview Lab → · Contrast checker → · Palette generator →

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