#6641CA#6641CA

#6641CA is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.8% C 0.200 H 289.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6641CA
RGBrgb(102, 65, 202)
HSLhsl(256, 56%, 52%)
HSVhsv(256, 68%, 79%)
CMYKcmyk(49.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.36, 48.66, -65.76)
CIE-LCHlch(39.36, 81.80, 306.50°)
OKLaboklab(49.84% 0.0668 -0.1886)
OKLCHoklch(49.84% 0.2 289.5)
XYZxyz(18.0274, 10.8689, 57.0137)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641CA #A5CA41
analogous
#4161CA #6641CA #AA41CA
triadic
#6641CA #CA6641 #41CA66
tetradic
#6641CA #CA4161 #A5CA41 #41CAAA
square
#6641CA #CA4161 #A5CA41 #41CAAA
split-complementary
#6641CA #CAAA41 #61CA41
monochromatic
#362071 #4C2DA1 #6641CA #8D71D7 #B3A1E5

Accessibility & contrast

On white

6.62
#6641CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6641CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641CA
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641CA#FFFFFF#000000##FFFFFF
##6641CA1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#446380
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6641ca;
/* rgb */ color: rgb(102, 65, 202);
/* oklch */ color: oklch(49.8% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#9a78db',
    500: '#6641ca',
    950: '#000000',
  },
}
SCSS
$custom: #6641ca;
$custom-light: #9a78db;
$custom-dark: #000000;
JSON
{
  "hex": "#6641ca",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 256.204,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49841,
    "c": 0.20008,
    "h": 289.5
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#6641CA
secondary
#C1D196
accent
#E048B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641CA

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

Preview Lab → · Contrast checker → · Palette generator →

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