#6639CF#6639CF

#6639CF is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.215 H 289.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#6639CF
RGBrgb(102, 57, 207)
HSLhsl(258, 61%, 52%)
HSVhsv(258, 72%, 81%)
CMYKcmyk(50.7%, 72.5%, 0%, 18.8%)
CIE-LABlab(38.30, 54.16, -70.39)
CIE-LCHlch(38.30, 88.82, 307.58°)
OKLaboklab(49.21% 0.073 -0.2022)
OKLCHoklch(49.21% 0.215 289.8)
XYZxyz(18.2019, 10.2552, 60.0398)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639CF #A2CF39
analogous
#3957CF #6639CF #B139CF
triadic
#6639CF #CF6639 #39CF66
tetradic
#6639CF #CF3957 #A2CF39 #39CFB1
square
#6639CF #CF3957 #A2CF39 #39CFB1
split-complementary
#6639CF #CFB139 #57CF39
monochromatic
#361C72 #4D28A3 #6639CF #8C6ADB #B29CE7

Accessibility & contrast

On white

6.88
#6639CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6639CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6639CF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639CF#FFFFFF#000000##FFFFFF
##6639CF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0057CC
Tritanopia (blue-blind)
#416181
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6639cf;
/* rgb */ color: rgb(102, 57, 207);
/* oklch */ color: oklch(49.2% 0.215 289.8);
Tailwind
colors: {
  custom: {
    50: '#9b74df',
    500: '#6639cf',
    950: '#000000',
  },
}
SCSS
$custom: #6639cf;
$custom-light: #9b74df;
$custom-dark: #000000;
JSON
{
  "hex": "#6639cf",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 258,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49213,
    "c": 0.21493,
    "h": 289.8
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#6639CF
secondary
#BFD391
accent
#E444B4
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6639CF

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

Preview Lab → · Contrast checker → · Palette generator →

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