#6641B9#6641B9

#6641B9 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.180 H 292.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6641B9
RGBrgb(102, 65, 185)
HSLhsl(259, 48%, 49%)
HSVhsv(259, 65%, 73%)
CMYKcmyk(44.9%, 64.9%, 0%, 27.5%)
CIE-LABlab(38.03, 43.88, -57.98)
CIE-LCHlch(38.03, 72.71, 307.12°)
OKLaboklab(48.47% 0.069 -0.1657)
OKLCHoklch(48.47% 0.18 292.6)
XYZxyz(16.1243, 10.1077, 46.9909)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641B9 #94B941
analogous
#4158B9 #6641B9 #A241B9
triadic
#6641B9 #B96641 #41B966
tetradic
#6641B9 #B94158 #94B941 #41B9A2
square
#6641B9 #B94158 #94B941 #41B9A2
split-complementary
#6641B9 #B9A241 #58B941
monochromatic
#34215E #4D318C #6641B9 #896CCB #AE99DB

Accessibility & contrast

On white

6.95
#6641B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6641B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641B9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641B9#FFFFFF#000000##FFFFFF
##6641B91.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#4E5D77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6641b9;
/* rgb */ color: rgb(102, 65, 185);
/* oklch */ color: oklch(48.5% 0.180 292.6);
Tailwind
colors: {
  custom: {
    50: '#9878cf',
    500: '#6641b9',
    950: '#000000',
  },
}
SCSS
$custom: #6641b9;
$custom-light: #9878cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6641b9",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 258.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.17954,
    "h": 292.6
  },
  "luminance": 0.10108
}

Semantic roles & 50–950 ramp

primary
#6641B9
secondary
#B6C78F
accent
#D850AE
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6641B9

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

Preview Lab → · Contrast checker → · Palette generator →

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