#6639B3#6639B3

#6639B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.183 H 295.4°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6639B3
RGBrgb(102, 57, 179)
HSLhsl(262, 52%, 46%)
HSVhsv(262, 68%, 70%)
CMYKcmyk(43%, 68.2%, 0%, 29.8%)
CIE-LABlab(35.99, 46.55, -57.75)
CIE-LCHlch(35.99, 74.17, 308.87°)
OKLaboklab(46.86% 0.0783 -0.165)
OKLCHoklch(46.86% 0.183 295.4)
XYZxyz(15.0771, 9.0054, 43.5829)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6639B3 #86B339
analogous
#3949B3 #6639B3 #A339B3
triadic
#6639B3 #B36639 #39B366
tetradic
#6639B3 #B33949 #86B339 #39B3A3
square
#6639B3 #B33949 #86B339 #39B3A3
split-complementary
#6639B3 #B3A339 #49B339
monochromatic
#311B56 #4C2A85 #6639B3 #865ECC #A98CDA

Accessibility & contrast

On white

7.50
#6639B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6639B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6639B3
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6639B3#FFFFFF#000000##FFFFFF
##6639B31.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#515771
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6639b3;
/* rgb */ color: rgb(102, 57, 179);
/* oklch */ color: oklch(46.9% 0.183 295.4);
Tailwind
colors: {
  custom: {
    50: '#9873cb',
    500: '#6639b3',
    950: '#000000',
  },
}
SCSS
$custom: #6639b3;
$custom-light: #9873cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6639b3",
  "rgb": {
    "r": 102,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 262.131,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.18266,
    "h": 295.4
  },
  "luminance": 0.09006
}

Semantic roles & 50–950 ramp

primary
#6639B3
secondary
#ADC583
accent
#DB4DA7
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6639B3

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

Preview Lab → · Contrast checker → · Palette generator →

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