#6639CB#6639CB

#6639CB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.210 H 290.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6639CB
RGBrgb(102, 57, 203)
HSLhsl(258, 58%, 51%)
HSVhsv(258, 72%, 80%)
CMYKcmyk(49.8%, 71.9%, 0%, 20.4%)
CIE-LABlab(37.95, 53.07, -68.63)
CIE-LCHlch(37.95, 86.76, 307.71°)
OKLaboklab(48.86% 0.0738 -0.197)
OKLCHoklch(48.86% 0.21 290.5)
XYZxyz(17.7190, 10.0621, 57.4969)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639CB #9ECB39
analogous
#3955CB #6639CB #AF39CB
triadic
#6639CB #CB6639 #39CB66
tetradic
#6639CB #CB3955 #9ECB39 #39CBAF
square
#6639CB #CB3955 #9ECB39 #39CBAF
split-complementary
#6639CB #CBAF39 #55CB39
monochromatic
#351D6D #4D299D #6639CB #8B69D8 #B19AE4

Accessibility & contrast

On white

6.97
#6639CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6639CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6639CB
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639CB#FFFFFF#000000##FFFFFF
##6639CB1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#43607E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6639cb;
/* rgb */ color: rgb(102, 57, 203);
/* oklch */ color: oklch(48.9% 0.210 290.5);
Tailwind
colors: {
  custom: {
    50: '#9b73dc',
    500: '#6639cb',
    950: '#000000',
  },
}
SCSS
$custom: #6639cb;
$custom-light: #9b73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6639cb",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 203
  },
  "hsl": {
    "h": 258.493,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48865,
    "c": 0.2104,
    "h": 290.5
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#6639CB
secondary
#BCD090
accent
#E246B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6639CB

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

Preview Lab → · Contrast checker → · Palette generator →

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