#6641CD#6641CD

#6641CD is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.1% C 0.204 H 289.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6641CD
RGBrgb(102, 65, 205)
HSLhsl(256, 58%, 53%)
HSVhsv(256, 68%, 80%)
CMYKcmyk(50.2%, 68.3%, 0%, 19.6%)
CIE-LABlab(39.60, 49.51, -67.10)
CIE-LCHlch(39.60, 83.39, 306.42°)
OKLaboklab(50.09% 0.0663 -0.1925)
OKLCHoklch(50.09% 0.204 289)
XYZxyz(18.3860, 11.0123, 58.9026)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641CD #A8CD41
analogous
#4162CD #6641CD #AC41CD
triadic
#6641CD #CD6641 #41CD66
tetradic
#6641CD #CD4162 #A8CD41 #41CDAC
square
#6641CD #CD4162 #A8CD41 #41CDAC
split-complementary
#6641CD #CDAC41 #62CD41
monochromatic
#361F75 #4C2CA5 #6641CD #8D71DA #B4A2E6

Accessibility & contrast

On white

6.56
#6641CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6641CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641CD
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641CD#FFFFFF#000000##FFFFFF
##6641CD1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#416582
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6641cd;
/* rgb */ color: rgb(102, 65, 205);
/* oklch */ color: oklch(50.1% 0.204 289.0);
Tailwind
colors: {
  custom: {
    50: '#9b78dd',
    500: '#6641cd',
    950: '#000000',
  },
}
SCSS
$custom: #6641cd;
$custom-light: #9b78dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6641cd",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 255.857,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5009,
    "c": 0.20365,
    "h": 289
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#6641CD
secondary
#C3D397
accent
#E246B9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641CD

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

Preview Lab → · Contrast checker → · Palette generator →

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