#6641AF#6641AF

#6641AF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.7% C 0.167 H 294.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6641AF
RGBrgb(102, 65, 175)
HSLhsl(260, 46%, 47%)
HSVhsv(260, 63%, 69%)
CMYKcmyk(41.7%, 62.9%, 0%, 31.4%)
CIE-LABlab(37.30, 41.10, -53.26)
CIE-LCHlch(37.30, 67.27, 307.66°)
OKLaboklab(47.71% 0.0699 -0.1519)
OKLCHoklch(47.71% 0.167 294.7)
XYZxyz(15.1056, 9.7002, 41.6256)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641AF #8AAF41
analogous
#4153AF #6641AF #9D41AF
triadic
#6641AF #AF6641 #41AF66
tetradic
#6641AF #AF4153 #8AAF41 #41AF9D
square
#6641AF #AF4153 #8AAF41 #41AF9D
split-complementary
#6641AF #AF9D41 #53AF41
monochromatic
#322056 #4C3082 #6641AF #8767C6 #AA93D7

Accessibility & contrast

On white

7.14
#6641AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6641AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6641AF#FFFFFF#000000##FFFFFF
##6641AF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#535A72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6641af;
/* rgb */ color: rgb(102, 65, 175);
/* oklch */ color: oklch(47.7% 0.167 294.7);
Tailwind
colors: {
  custom: {
    50: '#9777c8',
    500: '#6641af',
    950: '#000000',
  },
}
SCSS
$custom: #6641af;
$custom-light: #9777c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6641af",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 260.182,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.1672,
    "h": 294.7
  },
  "luminance": 0.09701
}

Semantic roles & 50–950 ramp

primary
#6641AF
secondary
#AFC289
accent
#D552A9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6641AF

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

Preview Lab → · Contrast checker → · Palette generator →

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