#6641C8#6641C8

#6641C8 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.198 H 289.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#6641C8
RGBrgb(102, 65, 200)
HSLhsl(256, 55%, 52%)
HSVhsv(256, 68%, 78%)
CMYKcmyk(49%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.20, 48.10, -64.86)
CIE-LCHlch(39.20, 80.74, 306.56°)
OKLaboklab(49.68% 0.0671 -0.186)
OKLCHoklch(49.68% 0.198 289.8)
XYZxyz(17.7921, 10.7748, 55.7746)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641C8 #A3C841
analogous
#4160C8 #6641C8 #A941C8
triadic
#6641C8 #C86641 #41C866
tetradic
#6641C8 #C84160 #A3C841 #41C8A9
square
#6641C8 #C84160 #A3C841 #41C8A9
split-complementary
#6641C8 #C8A941 #60C841
monochromatic
#36206F #4D2E9E #6641C8 #8C70D6 #B2A0E3

Accessibility & contrast

On white

6.66
#6641C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6641C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641C8
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641C8#FFFFFF#000000##FFFFFF
##6641C81.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#45637F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6641c8;
/* rgb */ color: rgb(102, 65, 200);
/* oklch */ color: oklch(49.7% 0.198 289.8);
Tailwind
colors: {
  custom: {
    50: '#9a78da',
    500: '#6641c8',
    950: '#000000',
  },
}
SCSS
$custom: #6641c8;
$custom-light: #9a78da;
$custom-dark: #000000;
JSON
{
  "hex": "#6641c8",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 256.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49676,
    "c": 0.1977,
    "h": 289.8
  },
  "luminance": 0.10776
}

Semantic roles & 50–950 ramp

primary
#6641C8
secondary
#C0D095
accent
#DE49B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6641C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva