#6641CF#6641CF

#6641CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.3% C 0.206 H 288.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6641CF
RGBrgb(102, 65, 207)
HSLhsl(256, 60%, 53%)
HSVhsv(256, 69%, 81%)
CMYKcmyk(50.7%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.76, 50.07, -67.99)
CIE-LCHlch(39.76, 84.44, 306.37°)
OKLaboklab(50.26% 0.066 -0.1952)
OKLCHoklch(50.26% 0.206 288.7)
XYZxyz(18.6290, 11.1095, 60.1822)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641CF #AACF41
analogous
#4163CF #6641CF #AD41CF
triadic
#6641CF #CF6641 #41CF66
tetradic
#6641CF #CF4163 #AACF41 #41CFAD
square
#6641CF #CF4163 #AACF41 #41CFAD
split-complementary
#6641CF #CFAD41 #63CF41
monochromatic
#351E77 #4B2BA8 #6641CF #8D72DB #B5A3E8

Accessibility & contrast

On white

6.52
#6641CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6641CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6641CF#FFFFFF#000000##FFFFFF
##6641CF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#406583
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6641cf;
/* rgb */ color: rgb(102, 65, 207);
/* oklch */ color: oklch(50.3% 0.206 288.7);
Tailwind
colors: {
  custom: {
    50: '#9b78df',
    500: '#6641cf',
    950: '#000000',
  },
}
SCSS
$custom: #6641cf;
$custom-light: #9b78df;
$custom-dark: #000000;
JSON
{
  "hex": "#6641cf",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 255.634,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50257,
    "c": 0.20601,
    "h": 288.7
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#6641CF
secondary
#C5D497
accent
#E345BA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641CF

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

Preview Lab → · Contrast checker → · Palette generator →

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