#6641CC#6641CC

#6641CC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.0% C 0.202 H 289.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#6641CC
RGBrgb(102, 65, 204)
HSLhsl(256, 58%, 53%)
HSVhsv(256, 68%, 80%)
CMYKcmyk(50%, 68.1%, 0%, 20%)
CIE-LABlab(39.52, 49.23, -66.65)
CIE-LCHlch(39.52, 82.86, 306.45°)
OKLaboklab(50.01% 0.0665 -0.1912)
OKLCHoklch(50.01% 0.202 289.2)
XYZxyz(18.2657, 10.9642, 58.2689)
Luminance0.1096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641CC #A7CC41
analogous
#4162CC #6641CC #AB41CC
triadic
#6641CC #CC6641 #41CC66
tetradic
#6641CC #CC4162 #A7CC41 #41CCAB
square
#6641CC #CC4162 #A7CC41 #41CCAB
split-complementary
#6641CC #CCAB41 #62CC41
monochromatic
#361F74 #4C2CA4 #6641CC #8D71D9 #B4A1E6

Accessibility & contrast

On white

6.58
#6641CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6641CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6641CC#FFFFFF#000000##FFFFFF
##6641CC1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#426481
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6641cc;
/* rgb */ color: rgb(102, 65, 204);
/* oklch */ color: oklch(50.0% 0.202 289.2);
Tailwind
colors: {
  custom: {
    50: '#9a78dd',
    500: '#6641cc',
    950: '#000000',
  },
}
SCSS
$custom: #6641cc;
$custom-light: #9a78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6641cc",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 255.971,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.20246,
    "h": 289.2
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#6641CC
secondary
#C2D396
accent
#E147B8
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641CC

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

Preview Lab → · Contrast checker → · Palette generator →

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