#6641DC#6641DC

#6641DC is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.221 H 286.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6641DC
RGBrgb(102, 65, 220)
HSLhsl(254, 69%, 56%)
HSVhsv(254, 70%, 86%)
CMYKcmyk(53.6%, 70.5%, 0%, 13.7%)
CIE-LABlab(40.85, 53.75, -73.69)
CIE-LCHlch(40.85, 91.21, 306.11°)
OKLaboklab(51.37% 0.0636 -0.2119)
OKLCHoklch(51.37% 0.221 286.7)
XYZxyz(20.2842, 11.7716, 68.8996)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641DC #B7DC41
analogous
#4169DC #6641DC #B441DC
triadic
#6641DC #DC6641 #41DC66
tetradic
#6641DC #DC4169 #B7DC41 #41DCB4
square
#6641DC #DC4169 #B7DC41 #41DCB4
split-complementary
#6641DC #DCB441 #69DC41
monochromatic
#341989 #4823BD #6641DC #9075E6 #B9A8EF

Accessibility & contrast

On white

6.26
#6641DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6641DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641DC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641DC#FFFFFF#000000##FFFFFF
##6641DC1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#005CD9
Tritanopia (blue-blind)
#346A8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6641dc;
/* rgb */ color: rgb(102, 65, 220);
/* oklch */ color: oklch(51.4% 0.221 286.7);
Tailwind
colors: {
  custom: {
    50: '#9d79e8',
    500: '#6641dc',
    950: '#000000',
  },
}
SCSS
$custom: #6641dc;
$custom-light: #9d79e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6641dc",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 254.323,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51367,
    "c": 0.22122,
    "h": 286.7
  },
  "luminance": 0.11773
}

Semantic roles & 50–950 ramp

primary
#6641DC
secondary
#CDDD9C
accent
#EC3CC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6641DC

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

Preview Lab → · Contrast checker → · Palette generator →

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