#6641D3#6641D3

#6641D3 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.211 H 288.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6641D3
RGBrgb(102, 65, 211)
HSLhsl(255, 62%, 54%)
HSVhsv(255, 69%, 83%)
CMYKcmyk(51.7%, 69.2%, 0%, 17.3%)
CIE-LABlab(40.09, 51.21, -69.76)
CIE-LCHlch(40.09, 86.53, 306.28°)
OKLaboklab(50.6% 0.0653 -0.2003)
OKLCHoklch(50.6% 0.211 288.1)
XYZxyz(19.1242, 11.3076, 62.7903)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641D3 #AED341
analogous
#4165D3 #6641D3 #AF41D3
triadic
#6641D3 #D36641 #41D366
tetradic
#6641D3 #D34165 #AED341 #41D3AF
square
#6641D3 #D34165 #AED341 #41D3AF
split-complementary
#6641D3 #D3AF41 #65D341
monochromatic
#351D7D #4A28AE #6641D3 #8E73DF #B6A4EA

Accessibility & contrast

On white

6.44
#6641D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6641D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641D3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641D3#FFFFFF#000000##FFFFFF
##6641D31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#3D6785
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6641d3;
/* rgb */ color: rgb(102, 65, 211);
/* oklch */ color: oklch(50.6% 0.211 288.1);
Tailwind
colors: {
  custom: {
    50: '#9b78e2',
    500: '#6641d3',
    950: '#000000',
  },
}
SCSS
$custom: #6641d3;
$custom-light: #9b78e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6641d3",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 255.205,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50595,
    "c": 0.21072,
    "h": 288.1
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#6641D3
secondary
#C7D799
accent
#E542BC
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6641D3

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

Preview Lab → · Contrast checker → · Palette generator →

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