#6D41C8#6D41C8

#6D41C8 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.198 H 292.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#6D41C8
RGBrgb(109, 65, 200)
HSLhsl(260, 55%, 52%)
HSVhsv(260, 68%, 78%)
CMYKcmyk(45.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.92, 49.36, -63.65)
CIE-LCHlch(39.92, 80.55, 307.79°)
OKLaboklab(50.36% 0.0769 -0.1822)
OKLCHoklch(50.36% 0.198 292.9)
XYZxyz(18.6194, 11.2014, 55.8134)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41C8 #9CC841
analogous
#4158C8 #6D41C8 #B141C8
triadic
#6D41C8 #C86D41 #41C86D
tetradic
#6D41C8 #C84158 #9CC841 #41C8B1
square
#6D41C8 #C84158 #9CC841 #41C8B1
split-complementary
#6D41C8 #C8B141 #58C841
monochromatic
#3A206F #522E9E #6D41C8 #9170D6 #B6A0E3

Accessibility & contrast

On white

6.48
#6D41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6D41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41C8
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41C8#FFFFFF#000000##FFFFFF
##6D41C81.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#52627F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d41c8;
/* rgb */ color: rgb(109, 65, 200);
/* oklch */ color: oklch(50.4% 0.198 292.9);
Tailwind
colors: {
  custom: {
    50: '#9e79da',
    500: '#6d41c8',
    950: '#000000',
  },
}
SCSS
$custom: #6d41c8;
$custom-light: #9e79da;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41c8",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 259.556,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.19774,
    "h": 292.9
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#6D41C8
secondary
#BDD095
accent
#DE49AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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