#6641D2#6641D2

#6641D2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.210 H 288.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#6641D2
RGBrgb(102, 65, 210)
HSLhsl(255, 62%, 54%)
HSVhsv(255, 69%, 82%)
CMYKcmyk(51.4%, 69%, 0%, 17.6%)
CIE-LABlab(40.01, 50.92, -69.32)
CIE-LCHlch(40.01, 86.01, 306.30°)
OKLaboklab(50.51% 0.0655 -0.1991)
OKLCHoklch(50.51% 0.21 288.2)
XYZxyz(18.9992, 11.2576, 62.1321)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641D2 #ADD241
analogous
#4165D2 #6641D2 #AE41D2
triadic
#6641D2 #D26641 #41D266
tetradic
#6641D2 #D24165 #ADD241 #41D2AE
square
#6641D2 #D24165 #ADD241 #41D2AE
split-complementary
#6641D2 #D2AE41 #65D241
monochromatic
#351D7B #4B29AD #6641D2 #8E72DE #B6A4E9

Accessibility & contrast

On white

6.46
#6641D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#6641D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641D2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641D2#FFFFFF#000000##FFFFFF
##6641D21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#3E6685
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6641d2;
/* rgb */ color: rgb(102, 65, 210);
/* oklch */ color: oklch(50.5% 0.210 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b78e1',
    500: '#6641d2',
    950: '#000000',
  },
}
SCSS
$custom: #6641d2;
$custom-light: #9b78e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6641d2",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 255.31,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5051,
    "c": 0.20955,
    "h": 288.2
  },
  "luminance": 0.11259
}

Semantic roles & 50–950 ramp

primary
#6641D2
secondary
#C7D698
accent
#E543BC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641D2

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

Preview Lab → · Contrast checker → · Palette generator →

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