#6A41CA#6A41CA

#6A41CA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.2% C 0.200 H 291.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6A41CA
RGBrgb(106, 65, 202)
HSLhsl(258, 56%, 52%)
HSVhsv(258, 68%, 79%)
CMYKcmyk(47.5%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.76, 49.37, -65.08)
CIE-LCHlch(39.76, 81.69, 307.18°)
OKLaboklab(50.22% 0.0724 -0.1865)
OKLCHoklch(50.22% 0.2 291.2)
XYZxyz(18.4918, 11.1084, 57.0355)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41CA #A1CA41
analogous
#415DCA #6A41CA #AE41CA
triadic
#6A41CA #CA6A41 #41CA6A
tetradic
#6A41CA #CA415D #A1CA41 #41CAAE
square
#6A41CA #CA415D #A1CA41 #41CAAE
split-complementary
#6A41CA #CAAE41 #5DCA41
monochromatic
#382071 #502DA1 #6A41CA #9071D7 #B5A1E5

Accessibility & contrast

On white

6.52
#6A41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41CA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41CA#FFFFFF#000000##FFFFFF
##6A41CA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#4B6380
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a41ca;
/* rgb */ color: rgb(106, 65, 202);
/* oklch */ color: oklch(50.2% 0.200 291.2);
Tailwind
colors: {
  custom: {
    50: '#9d78db',
    500: '#6a41ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a41ca;
$custom-light: #9d78db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41ca",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 257.956,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50225,
    "c": 0.20004,
    "h": 291.2
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#6A41CA
secondary
#BFD196
accent
#E048B2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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