#6A41DF#6A41DF

#6A41DF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.0% C 0.224 H 287.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#6A41DF
RGBrgb(106, 65, 223)
HSLhsl(256, 71%, 56%)
HSVhsv(256, 71%, 87%)
CMYKcmyk(52.5%, 70.9%, 0%, 12.5%)
CIE-LABlab(41.49, 55.20, -74.34)
CIE-LCHlch(41.49, 92.59, 306.59°)
OKLaboklab(51.99% 0.0686 -0.2137)
OKLCHoklch(51.99% 0.224 287.8)
XYZxyz(21.1495, 12.1714, 71.0326)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41DF #B6DF41
analogous
#4167DF #6A41DF #B941DF
triadic
#6A41DF #DF6A41 #41DF6A
tetradic
#6A41DF #DF4167 #B6DF41 #41DFB9
square
#6A41DF #DF4167 #B6DF41 #41DFB9
split-complementary
#6A41DF #DFB941 #67DF41
monochromatic
#36188E #4B21C2 #6A41DF #9375E8 #BCAAF1

Accessibility & contrast

On white

6.11
#6A41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6A41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41DF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41DF#FFFFFF#000000##FFFFFF
##6A41DF1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#3C6B8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a41df;
/* rgb */ color: rgb(106, 65, 223);
/* oklch */ color: oklch(52.0% 0.224 287.8);
Tailwind
colors: {
  custom: {
    50: '#9f79ea',
    500: '#6a41df',
    950: '#000000',
  },
}
SCSS
$custom: #6a41df;
$custom-light: #9f79ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41df",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 255.57,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.22441,
    "h": 287.8
  },
  "luminance": 0.12172
}

Semantic roles & 50–950 ramp

primary
#6A41DF
secondary
#CEDE9D
accent
#EE3ABF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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