#6641BA#6641BA

#6641BA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.181 H 292.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6641BA
RGBrgb(102, 65, 186)
HSLhsl(258, 48%, 49%)
HSVhsv(258, 65%, 73%)
CMYKcmyk(45.2%, 65.1%, 0%, 27.1%)
CIE-LABlab(38.11, 44.16, -58.44)
CIE-LCHlch(38.11, 73.25, 307.08°)
OKLaboklab(48.55% 0.0689 -0.1671)
OKLCHoklch(48.55% 0.181 292.4)
XYZxyz(16.2303, 10.1500, 47.5489)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641BA #95BA41
analogous
#4159BA #6641BA #A341BA
triadic
#6641BA #BA6641 #41BA66
tetradic
#6641BA #BA4159 #95BA41 #41BAA3
square
#6641BA #BA4159 #95BA41 #41BAA3
split-complementary
#6641BA #BAA341 #59BA41
monochromatic
#34215F #4D318D #6641BA #8A6CCC #AE9ADC

Accessibility & contrast

On white

6.93
#6641BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6641BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6641BA#FFFFFF#000000##FFFFFF
##6641BA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#4D5E78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6641ba;
/* rgb */ color: rgb(102, 65, 186);
/* oklch */ color: oklch(48.6% 0.181 292.4);
Tailwind
colors: {
  custom: {
    50: '#9878d0',
    500: '#6641ba',
    950: '#000000',
  },
}
SCSS
$custom: #6641ba;
$custom-light: #9878d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6641ba",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 258.347,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48552,
    "c": 0.18077,
    "h": 292.4
  },
  "luminance": 0.10151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6641BA

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

Preview Lab → · Contrast checker → · Palette generator →

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