#6641D1#6641D1

#6641D1 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.4% C 0.208 H 288.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6641D1
RGBrgb(102, 65, 209)
HSLhsl(255, 61%, 54%)
HSVhsv(255, 69%, 82%)
CMYKcmyk(51.2%, 68.9%, 0%, 18%)
CIE-LABlab(39.93, 50.64, -68.88)
CIE-LCHlch(39.93, 85.49, 306.32°)
OKLaboklab(50.43% 0.0656 -0.1978)
OKLCHoklch(50.43% 0.208 288.4)
XYZxyz(18.8750, 11.2079, 61.4780)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641D1 #ACD141
analogous
#4164D1 #6641D1 #AE41D1
triadic
#6641D1 #D16641 #41D166
tetradic
#6641D1 #D14164 #ACD141 #41D1AE
square
#6641D1 #D14164 #ACD141 #41D1AE
split-complementary
#6641D1 #D1AE41 #64D141
monochromatic
#351E7A #4B29AB #6641D1 #8E72DD #B5A4E9

Accessibility & contrast

On white

6.48
#6641D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6641D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641D1
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641D1#FFFFFF#000000##FFFFFF
##6641D11.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#3E6684
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6641d1;
/* rgb */ color: rgb(102, 65, 209);
/* oklch */ color: oklch(50.4% 0.208 288.4);
Tailwind
colors: {
  custom: {
    50: '#9b78e0',
    500: '#6641d1',
    950: '#000000',
  },
}
SCSS
$custom: #6641d1;
$custom-light: #9b78e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6641d1",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 255.417,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.20837,
    "h": 288.4
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#6641D1
secondary
#C6D698
accent
#E444BB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641D1

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

Preview Lab → · Contrast checker → · Palette generator →

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