#6A41C8#6A41C8

#6A41C8 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.198 H 291.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#6A41C8
RGBrgb(106, 65, 200)
HSLhsl(258, 55%, 52%)
HSVhsv(258, 68%, 78%)
CMYKcmyk(47%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.60, 48.82, -64.18)
CIE-LCHlch(39.60, 80.63, 307.26°)
OKLaboklab(50.06% 0.0727 -0.1838)
OKLCHoklch(50.06% 0.198 291.6)
XYZxyz(18.2566, 11.0142, 55.7964)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41C8 #9FC841
analogous
#415CC8 #6A41C8 #AD41C8
triadic
#6A41C8 #C86A41 #41C86A
tetradic
#6A41C8 #C8415C #9FC841 #41C8AD
square
#6A41C8 #C8415C #9FC841 #41C8AD
split-complementary
#6A41C8 #C8AD41 #5CC841
monochromatic
#38206F #502E9E #6A41C8 #8F70D6 #B4A0E3

Accessibility & contrast

On white

6.56
#6A41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6A41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41C8
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41C8#FFFFFF#000000##FFFFFF
##6A41C81.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#4D627F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a41c8;
/* rgb */ color: rgb(106, 65, 200);
/* oklch */ color: oklch(50.1% 0.198 291.6);
Tailwind
colors: {
  custom: {
    50: '#9c78da',
    500: '#6a41c8',
    950: '#000000',
  },
}
SCSS
$custom: #6a41c8;
$custom-light: #9c78da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41c8",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 258.222,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.19768,
    "h": 291.6
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

primary
#6A41C8
secondary
#BED095
accent
#DE49B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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