#6641D5#6641D5

#6641D5 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.213 H 287.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#6641D5
RGBrgb(102, 65, 213)
HSLhsl(255, 64%, 55%)
HSVhsv(255, 69%, 84%)
CMYKcmyk(52.1%, 69.5%, 0%, 16.5%)
CIE-LABlab(40.26, 51.77, -70.64)
CIE-LCHlch(40.26, 87.58, 306.24°)
OKLaboklab(50.77% 0.0649 -0.2029)
OKLCHoklch(50.77% 0.213 287.7)
XYZxyz(19.3765, 11.4085, 64.1190)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641D5 #B0D541
analogous
#4166D5 #6641D5 #B041D5
triadic
#6641D5 #D56641 #41D566
tetradic
#6641D5 #D54166 #B0D541 #41D5B0
square
#6641D5 #D54166 #B0D541 #41D5B0
split-complementary
#6641D5 #D5B041 #66D541
monochromatic
#351C7F #4A27B2 #6641D5 #8E73E0 #B7A5EB

Accessibility & contrast

On white

6.40
#6641D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#6641D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641D5
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641D5#FFFFFF#000000##FFFFFF
##6641D51.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#005BD2
Tritanopia (blue-blind)
#3B6786
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6641d5;
/* rgb */ color: rgb(102, 65, 213);
/* oklch */ color: oklch(50.8% 0.213 287.7);
Tailwind
colors: {
  custom: {
    50: '#9c79e3',
    500: '#6641d5',
    950: '#000000',
  },
}
SCSS
$custom: #6641d5;
$custom-light: #9c79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6641d5",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 255,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.21307,
    "h": 287.7
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#6641D5
secondary
#C9D89A
accent
#E741BD
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6641D5

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

Preview Lab → · Contrast checker → · Palette generator →

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