#6A41DC#6A41DC

#6A41DC is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.221 H 288.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6A41DC
RGBrgb(106, 65, 220)
HSLhsl(256, 69%, 56%)
HSVhsv(256, 70%, 86%)
CMYKcmyk(51.8%, 70.5%, 0%, 13.7%)
CIE-LABlab(41.23, 54.36, -73.04)
CIE-LCHlch(41.23, 91.05, 306.66°)
OKLaboklab(51.73% 0.0692 -0.2099)
OKLCHoklch(51.73% 0.221 288.2)
XYZxyz(20.7486, 12.0111, 68.9214)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41DC #B3DC41
analogous
#4165DC #6A41DC #B741DC
triadic
#6A41DC #DC6A41 #41DC6A
tetradic
#6A41DC #DC4165 #B3DC41 #41DCB7
square
#6A41DC #DC4165 #B3DC41 #41DCB7
split-complementary
#6A41DC #DCB741 #65DC41
monochromatic
#371989 #4C23BD #6A41DC #9375E6 #BBA8EF

Accessibility & contrast

On white

6.17
#6A41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6A41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41DC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41DC#FFFFFF#000000##FFFFFF
##6A41DC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#3F6A8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a41dc;
/* rgb */ color: rgb(106, 65, 220);
/* oklch */ color: oklch(51.7% 0.221 288.2);
Tailwind
colors: {
  custom: {
    50: '#9f79e8',
    500: '#6a41dc',
    950: '#000000',
  },
}
SCSS
$custom: #6a41dc;
$custom-light: #9f79e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41dc",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 255.871,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51731,
    "c": 0.22097,
    "h": 288.2
  },
  "luminance": 0.12012
}

Semantic roles & 50–950 ramp

primary
#6A41DC
secondary
#CCDD9C
accent
#EC3CBD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A41DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6A41DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva