#6641B2#6641B2

#6641B2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.9% C 0.171 H 294.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#6641B2
RGBrgb(102, 65, 178)
HSLhsl(260, 47%, 48%)
HSVhsv(260, 63%, 70%)
CMYKcmyk(42.7%, 63.5%, 0%, 30.2%)
CIE-LABlab(37.52, 41.93, -54.69)
CIE-LCHlch(37.52, 68.91, 307.48°)
OKLaboklab(47.94% 0.0697 -0.1561)
OKLCHoklch(47.94% 0.171 294.1)
XYZxyz(15.4035, 9.8193, 43.1946)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641B2 #8DB241
analogous
#4154B2 #6641B2 #9E41B2
triadic
#6641B2 #B26641 #41B266
tetradic
#6641B2 #B24154 #8DB241 #41B29E
square
#6641B2 #B24154 #8DB241 #41B29E
split-complementary
#6641B2 #B29E41 #54B241
monochromatic
#332058 #4C3185 #6641B2 #8868C8 #AB95D8

Accessibility & contrast

On white

7.09
#6641B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6641B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6641B2#FFFFFF#000000##FFFFFF
##6641B21.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#515B73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6641b2;
/* rgb */ color: rgb(102, 65, 178);
/* oklch */ color: oklch(47.9% 0.171 294.1);
Tailwind
colors: {
  custom: {
    50: '#9778ca',
    500: '#6641b2',
    950: '#000000',
  },
}
SCSS
$custom: #6641b2;
$custom-light: #9778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6641b2",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 259.646,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47935,
    "c": 0.17092,
    "h": 294.1
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#6641B2
secondary
#B1C48B
accent
#D652AB
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6641B2

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

Preview Lab → · Contrast checker → · Palette generator →

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