#6641CB#6641CB

#6641CB is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.9% C 0.201 H 289.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6641CB
RGBrgb(102, 65, 203)
HSLhsl(256, 57%, 53%)
HSVhsv(256, 68%, 80%)
CMYKcmyk(49.8%, 68%, 0%, 20.4%)
CIE-LABlab(39.44, 48.94, -66.20)
CIE-LCHlch(39.44, 82.33, 306.48°)
OKLaboklab(49.92% 0.0666 -0.1899)
OKLCHoklch(49.92% 0.201 289.3)
XYZxyz(18.1462, 10.9164, 57.6393)
Luminance0.1092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641CB #A6CB41
analogous
#4161CB #6641CB #AB41CB
triadic
#6641CB #CB6641 #41CB66
tetradic
#6641CB #CB4161 #A6CB41 #41CBAB
square
#6641CB #CB4161 #A6CB41 #41CBAB
split-complementary
#6641CB #CBAB41 #61CB41
monochromatic
#361F72 #4C2CA2 #6641CB #8D71D8 #B3A1E5

Accessibility & contrast

On white

6.60
#6641CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6641CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641CB
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641CB#FFFFFF#000000##FFFFFF
##6641CB1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#436481
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6641cb;
/* rgb */ color: rgb(102, 65, 203);
/* oklch */ color: oklch(49.9% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#9a78dc',
    500: '#6641cb',
    950: '#000000',
  },
}
SCSS
$custom: #6641cb;
$custom-light: #9a78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6641cb",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 256.087,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49924,
    "c": 0.20127,
    "h": 289.3
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#6641CB
secondary
#C2D296
accent
#E048B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6641CB

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

Preview Lab → · Contrast checker → · Palette generator →

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