#6D41B5#6D41B5

#6D41B5 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.9% C 0.175 H 296.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6D41B5
RGBrgb(109, 65, 181)
HSLhsl(263, 47%, 48%)
HSVhsv(263, 64%, 71%)
CMYKcmyk(39.8%, 64.1%, 0%, 29%)
CIE-LABlab(38.49, 44.23, -54.84)
CIE-LCHlch(38.49, 70.45, 308.89°)
OKLaboklab(48.89% 0.0791 -0.1563)
OKLCHoklch(48.89% 0.175 296.9)
XYZxyz(16.5353, 10.3677, 44.8371)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41B5 #89B541
analogous
#414FB5 #6D41B5 #A741B5
triadic
#6D41B5 #B56D41 #41B56D
tetradic
#6D41B5 #B5414F #89B541 #41B5A7
square
#6D41B5 #B5414F #89B541 #41B5A7
split-complementary
#6D41B5 #B5A741 #4FB541
monochromatic
#37215B #523188 #6D41B5 #8E6AC9 #B097DA

Accessibility & contrast

On white

6.83
#6D41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6D41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41B5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41B5#FFFFFF#000000##FFFFFF
##6D41B51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#5B5B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d41b5;
/* rgb */ color: rgb(109, 65, 181);
/* oklch */ color: oklch(48.9% 0.175 296.9);
Tailwind
colors: {
  custom: {
    50: '#9c78cc',
    500: '#6d41b5',
    950: '#000000',
  },
}
SCSS
$custom: #6d41b5;
$custom-light: #9c78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41b5",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 262.759,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.17518,
    "h": 296.9
  },
  "luminance": 0.10368
}

Semantic roles & 50–950 ramp

primary
#6D41B5
secondary
#B0C58C
accent
#D751A4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6D41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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