#6D41C5#6D41C5

#6D41C5 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.194 H 293.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6D41C5
RGBrgb(109, 65, 197)
HSLhsl(260, 53%, 51%)
HSVhsv(260, 67%, 77%)
CMYKcmyk(44.7%, 67%, 0%, 22.7%)
CIE-LABlab(39.69, 48.55, -62.29)
CIE-LCHlch(39.69, 78.97, 307.93°)
OKLaboklab(50.12% 0.0773 -0.1782)
OKLCHoklch(50.12% 0.194 293.5)
XYZxyz(18.2723, 11.0625, 53.9850)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41C5 #99C541
analogous
#4157C5 #6D41C5 #AF41C5
triadic
#6D41C5 #C56D41 #41C56D
tetradic
#6D41C5 #C54157 #99C541 #41C5AF
square
#6D41C5 #C54157 #99C541 #41C5AF
split-complementary
#6D41C5 #C5AF41 #57C541
monochromatic
#39216B #532F9A #6D41C5 #9170D3 #B59FE2

Accessibility & contrast

On white

6.54
#6D41C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6D41C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41C5
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41C5#FFFFFF#000000##FFFFFF
##6D41C51.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#54617E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d41c5;
/* rgb */ color: rgb(109, 65, 197);
/* oklch */ color: oklch(50.1% 0.194 293.5);
Tailwind
colors: {
  custom: {
    50: '#9e78d7',
    500: '#6d41c5',
    950: '#000000',
  },
}
SCSS
$custom: #6d41c5;
$custom-light: #9e78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41c5",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 197
  },
  "hsl": {
    "h": 260,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.19422,
    "h": 293.5
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#6D41C5
secondary
#BBCE94
accent
#DD4BAC
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D41C5

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

Preview Lab → · Contrast checker → · Palette generator →

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