#6641C0#6641C0

#6641C0 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.188 H 291.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6641C0
RGBrgb(102, 65, 192)
HSLhsl(257, 50%, 50%)
HSVhsv(257, 66%, 75%)
CMYKcmyk(46.9%, 66.1%, 0%, 24.7%)
CIE-LABlab(38.57, 45.84, -61.22)
CIE-LCHlch(38.57, 76.48, 306.83°)
OKLaboklab(49.03% 0.0682 -0.1753)
OKLCHoklch(49.03% 0.188 291.3)
XYZxyz(16.8815, 10.4105, 50.9789)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641C0 #9BC041
analogous
#415BC0 #6641C0 #A541C0
triadic
#6641C0 #C06641 #41C066
tetradic
#6641C0 #C0415B #9BC041 #41C0A5
square
#6641C0 #C0415B #9BC041 #41C0A5
split-complementary
#6641C0 #C0A541 #5BC041
monochromatic
#352265 #4D3193 #6641C0 #8B6FCF #B09DDE

Accessibility & contrast

On white

6.81
#6641C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6641C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641C0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641C0#FFFFFF#000000##FFFFFF
##6641C01.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#4A607B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6641c0;
/* rgb */ color: rgb(102, 65, 192);
/* oklch */ color: oklch(49.0% 0.188 291.3);
Tailwind
colors: {
  custom: {
    50: '#9978d4',
    500: '#6641c0',
    950: '#000000',
  },
}
SCSS
$custom: #6641c0;
$custom-light: #9978d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6641c0",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 257.48,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49028,
    "c": 0.18807,
    "h": 291.3
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#6641C0
secondary
#BACB92
accent
#DA4EB1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6641C0

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

Preview Lab → · Contrast checker → · Palette generator →

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