#6641DF#6641DF

#6641DF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.225 H 286.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6641DF
RGBrgb(102, 65, 223)
HSLhsl(254, 71%, 56%)
HSVhsv(254, 71%, 87%)
CMYKcmyk(54.3%, 70.9%, 0%, 12.5%)
CIE-LABlab(41.11, 54.60, -74.98)
CIE-LCHlch(41.11, 92.75, 306.06°)
OKLaboklab(51.63% 0.063 -0.2157)
OKLCHoklch(51.63% 0.225 286.3)
XYZxyz(20.6851, 11.9320, 71.0109)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6641DF #BADF41
analogous
#416BDF #6641DF #B541DF
triadic
#6641DF #DF6641 #41DF66
tetradic
#6641DF #DF416B #BADF41 #41DFB5
square
#6641DF #DF416B #BADF41 #41DFB5
split-complementary
#6641DF #DFB541 #6BDF41
monochromatic
#33188E #4621C2 #6641DF #9075E8 #BAAAF1

Accessibility & contrast

On white

6.20
#6641DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6641DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6641DF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6641DF#FFFFFF#000000##FFFFFF
##6641DF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005CDC
Tritanopia (blue-blind)
#316B8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6641df;
/* rgb */ color: rgb(102, 65, 223);
/* oklch */ color: oklch(51.6% 0.225 286.3);
Tailwind
colors: {
  custom: {
    50: '#9d79ea',
    500: '#6641df',
    950: '#000000',
  },
}
SCSS
$custom: #6641df;
$custom-light: #9d79ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6641df",
  "rgb": {
    "r": 102,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 254.051,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.22468,
    "h": 286.3
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#6641DF
secondary
#CFDE9D
accent
#EE3AC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6641DF

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

Preview Lab → · Contrast checker → · Palette generator →

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