#6D41B0#6D41B0

#6D41B0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.169 H 298.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6D41B0
RGBrgb(109, 65, 176)
HSLhsl(264, 46%, 47%)
HSVhsv(264, 63%, 69%)
CMYKcmyk(38.1%, 63.1%, 0%, 31%)
CIE-LABlab(38.14, 42.90, -52.46)
CIE-LCHlch(38.14, 67.77, 309.28°)
OKLaboklab(48.52% 0.0795 -0.1493)
OKLCHoklch(48.52% 0.169 298.1)
XYZxyz(16.0315, 10.1662, 42.1835)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41B0 #84B041
analogous
#414CB0 #6D41B0 #A541B0
triadic
#6D41B0 #B06D41 #41B06D
tetradic
#6D41B0 #B0414C #84B041 #41B0A5
square
#6D41B0 #B0414C #84B041 #41B0A5
split-complementary
#6D41B0 #B0A541 #4CB041
monochromatic
#362057 #513083 #6D41B0 #8D67C7 #AF94D7

Accessibility & contrast

On white

6.92
#6D41B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6D41B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41B0
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41B0#FFFFFF#000000##FFFFFF
##6D41B01.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#0959AE
Tritanopia (blue-blind)
#5D5A72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d41b0;
/* rgb */ color: rgb(109, 65, 176);
/* oklch */ color: oklch(48.5% 0.169 298.1);
Tailwind
colors: {
  custom: {
    50: '#9c78c8',
    500: '#6d41b0',
    950: '#000000',
  },
}
SCSS
$custom: #6d41b0;
$custom-light: #9c78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41b0",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 263.784,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48518,
    "c": 0.16914,
    "h": 298.1
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#6D41B0
secondary
#ACC38A
accent
#D652A2
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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