#6D41E0#6D41E0

#6D41E0 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.4% C 0.225 H 288.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6D41E0
RGBrgb(109, 65, 224)
HSLhsl(257, 72%, 57%)
HSVhsv(257, 71%, 88%)
CMYKcmyk(51.3%, 71%, 0%, 12.2%)
CIE-LABlab(41.86, 55.93, -74.28)
CIE-LCHlch(41.86, 92.99, 306.98°)
OKLaboklab(52.35% 0.0726 -0.2134)
OKLCHoklch(52.35% 0.225 288.8)
XYZxyz(21.6476, 12.4126, 71.7618)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41E0 #B4E041
analogous
#4165E0 #6D41E0 #BD41E0
triadic
#6D41E0 #E06D41 #41E06D
tetradic
#6D41E0 #E04165 #B4E041 #41E0BD
square
#6D41E0 #E04165 #B4E041 #41E0BD
split-complementary
#6D41E0 #E0BD41 #65E041
monochromatic
#39178F #4D20C4 #6D41E0 #9576E9 #BEAAF1

Accessibility & contrast

On white

6.03
#6D41E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6D41E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41E0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41E0#FFFFFF#000000##FFFFFF
##6D41E01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#426B8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6d41e0;
/* rgb */ color: rgb(109, 65, 224);
/* oklch */ color: oklch(52.4% 0.225 288.8);
Tailwind
colors: {
  custom: {
    50: '#a179eb',
    500: '#6d41e0',
    950: '#000000',
  },
}
SCSS
$custom: #6d41e0;
$custom-light: #a179eb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41e0",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 224
  },
  "hsl": {
    "h": 256.604,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.22541,
    "h": 288.8
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#6D41E0
secondary
#CDDF9E
accent
#EF39BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6D41E0

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

Preview Lab → · Contrast checker → · Palette generator →

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