#6641D9#6641D9

#6641D9 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.218 H 287.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6641D9
RGBrgb(102, 65, 217)
HSLhsl(255, 67%, 55%)
HSVhsv(255, 70%, 85%)
CMYKcmyk(53%, 70%, 0%, 14.9%)
CIE-LABlab(40.60, 52.90, -72.39)
CIE-LCHlch(40.60, 89.66, 306.16°)
OKLaboklab(51.11% 0.0642 -0.2081)
OKLCHoklch(51.11% 0.218 287.1)
XYZxyz(19.8905, 11.6141, 66.8259)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641D9 #B4D941
analogous
#4168D9 #6641D9 #B241D9
triadic
#6641D9 #D96641 #41D966
tetradic
#6641D9 #D94168 #B4D941 #41D9B2
square
#6641D9 #D94168 #B4D941 #41D9B2
split-complementary
#6641D9 #D9B241 #68D941
monochromatic
#341B85 #4925B8 #6641D9 #8F74E3 #B8A7ED

Accessibility & contrast

On white

6.32
#6641D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6641D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641D9
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641D9#FFFFFF#000000##FFFFFF
##6641D91.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#376988
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6641d9;
/* rgb */ color: rgb(102, 65, 217);
/* oklch */ color: oklch(51.1% 0.218 287.1);
Tailwind
colors: {
  custom: {
    50: '#9c79e6',
    500: '#6641d9',
    950: '#000000',
  },
}
SCSS
$custom: #6641d9;
$custom-light: #9c79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6641d9",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 254.605,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.21774,
    "h": 287.1
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#6641D9
secondary
#CBDB9B
accent
#EA3EC0
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6641D9

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

Preview Lab → · Contrast checker → · Palette generator →

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