#6641D8#6641D8

#6641D8 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.217 H 287.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6641D8
RGBrgb(102, 65, 216)
HSLhsl(255, 66%, 55%)
HSVhsv(255, 70%, 85%)
CMYKcmyk(52.8%, 69.9%, 0%, 15.3%)
CIE-LABlab(40.51, 52.62, -71.95)
CIE-LCHlch(40.51, 89.14, 306.18°)
OKLaboklab(51.02% 0.0644 -0.2068)
OKLCHoklch(51.02% 0.217 287.3)
XYZxyz(19.7608, 11.5622, 66.1429)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641D8 #B3D841
analogous
#4167D8 #6641D8 #B241D8
triadic
#6641D8 #D86641 #41D866
tetradic
#6641D8 #D84167 #B3D841 #41D8B2
square
#6641D8 #D84167 #B3D841 #41D8B2
split-complementary
#6641D8 #D8B241 #67D841
monochromatic
#351B84 #4925B6 #6641D8 #8F74E2 #B8A7ED

Accessibility & contrast

On white

6.34
#6641D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6641D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641D8
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641D8#FFFFFF#000000##FFFFFF
##6641D81.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#386988
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6641d8;
/* rgb */ color: rgb(102, 65, 216);
/* oklch */ color: oklch(51.0% 0.217 287.3);
Tailwind
colors: {
  custom: {
    50: '#9c79e5',
    500: '#6641d8',
    950: '#000000',
  },
}
SCSS
$custom: #6641d8;
$custom-light: #9c79e5;
$custom-dark: #000000;
JSON
{
  "hex": "#6641d8",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 254.702,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51021,
    "c": 0.21657,
    "h": 287.3
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#6641D8
secondary
#CBDA9B
accent
#E93FBF
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6641D8

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

Preview Lab → · Contrast checker → · Palette generator →

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