#6641B7#6641B7

#6641B7 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.177 H 293.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6641B7
RGBrgb(102, 65, 183)
HSLhsl(259, 48%, 49%)
HSVhsv(259, 64%, 72%)
CMYKcmyk(44.3%, 64.5%, 0%, 28.2%)
CIE-LABlab(37.89, 43.32, -57.04)
CIE-LCHlch(37.89, 71.63, 307.22°)
OKLaboklab(48.32% 0.0693 -0.163)
OKLCHoklch(48.32% 0.177 293)
XYZxyz(15.9147, 10.0238, 45.8868)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641B7 #92B741
analogous
#4157B7 #6641B7 #A141B7
triadic
#6641B7 #B76641 #41B766
tetradic
#6641B7 #B74157 #92B741 #41B7A1
square
#6641B7 #B74157 #92B741 #41B7A1
split-complementary
#6641B7 #B7A141 #57B741
monochromatic
#34215D #4D318A #6641B7 #896BCA #AD98DA

Accessibility & contrast

On white

6.99
#6641B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6641B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641B7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641B7#FFFFFF#000000##FFFFFF
##6641B71.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#0057B5
Tritanopia (blue-blind)
#4F5D76
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6641b7;
/* rgb */ color: rgb(102, 65, 183);
/* oklch */ color: oklch(48.3% 0.177 293.0);
Tailwind
colors: {
  custom: {
    50: '#9878cd',
    500: '#6641b7',
    950: '#000000',
  },
}
SCSS
$custom: #6641b7;
$custom-light: #9878cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6641b7",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 258.814,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.17709,
    "h": 293
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#6641B7
secondary
#B4C68E
accent
#D751AD
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82

Preview Lab

Preview with #6641B7

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

Preview Lab → · Contrast checker → · Palette generator →

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