#6D41CA#6D41CA

#6D41CA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.5% C 0.200 H 292.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6D41CA
RGBrgb(109, 65, 202)
HSLhsl(259, 56%, 52%)
HSVhsv(259, 68%, 79%)
CMYKcmyk(46%, 67.8%, 0%, 20.8%)
CIE-LABlab(40.07, 49.91, -64.56)
CIE-LCHlch(40.07, 81.60, 307.71°)
OKLaboklab(50.52% 0.0766 -0.1849)
OKLCHoklch(50.52% 0.2 292.5)
XYZxyz(18.8547, 11.2955, 57.0525)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41CA #9ECA41
analogous
#415ACA #6D41CA #B241CA
triadic
#6D41CA #CA6D41 #41CA6D
tetradic
#6D41CA #CA415A #9ECA41 #41CAB2
square
#6D41CA #CA415A #9ECA41 #41CAB2
split-complementary
#6D41CA #CAB241 #5ACA41
monochromatic
#3A2071 #522DA1 #6D41CA #9271D7 #B7A1E5

Accessibility & contrast

On white

6.44
#6D41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6D41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41CA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41CA#FFFFFF#000000##FFFFFF
##6D41CA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005CC7
Tritanopia (blue-blind)
#516380
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d41ca;
/* rgb */ color: rgb(109, 65, 202);
/* oklch */ color: oklch(50.5% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#9e79db',
    500: '#6d41ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d41ca;
$custom-light: #9e79db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41ca",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 259.27,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50521,
    "c": 0.20009,
    "h": 292.5
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#6D41CA
secondary
#BED196
accent
#E048AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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