#6641AA#6641AA

#6641AA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.3% C 0.161 H 295.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6641AA
RGBrgb(102, 65, 170)
HSLhsl(261, 45%, 46%)
HSVhsv(261, 62%, 67%)
CMYKcmyk(40%, 61.8%, 0%, 33.3%)
CIE-LABlab(36.94, 39.72, -50.86)
CIE-LCHlch(36.94, 64.53, 307.99°)
OKLaboklab(47.34% 0.0703 -0.1448)
OKLCHoklch(47.34% 0.161 295.9)
XYZxyz(14.6236, 9.5074, 39.0871)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641AA #85AA41
analogous
#4150AA #6641AA #9A41AA
triadic
#6641AA #AA6641 #41AA66
tetradic
#6641AA #AA4150 #85AA41 #41AA9A
square
#6641AA #AA4150 #85AA41 #41AA9A
split-complementary
#6641AA #AA9A41 #50AA41
monochromatic
#311F51 #4B307E #6641AA #8664C4 #A991D5

Accessibility & contrast

On white

7.24
#6641AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6641AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6641AA#FFFFFF#000000##FFFFFF
##6641AA1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#0955A8
Tritanopia (blue-blind)
#55586F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6641aa;
/* rgb */ color: rgb(102, 65, 170);
/* oklch */ color: oklch(47.3% 0.161 295.9);
Tailwind
colors: {
  custom: {
    50: '#9677c4',
    500: '#6641aa',
    950: '#000000',
  },
}
SCSS
$custom: #6641aa;
$custom-light: #9677c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6641aa",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 261.143,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.16095,
    "h": 295.9
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#6641AA
secondary
#ACC087
accent
#D453A7
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6641AA

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

Preview Lab → · Contrast checker → · Palette generator →

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