#6D41B2#6D41B2

#6D41B2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.7% C 0.172 H 297.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6D41B2
RGBrgb(109, 65, 178)
HSLhsl(263, 47%, 48%)
HSVhsv(263, 63%, 70%)
CMYKcmyk(38.8%, 63.5%, 0%, 30.2%)
CIE-LABlab(38.28, 43.43, -53.41)
CIE-LCHlch(38.28, 68.84, 309.12°)
OKLaboklab(48.67% 0.0794 -0.1521)
OKLCHoklch(48.67% 0.172 297.6)
XYZxyz(16.2308, 10.2459, 43.2334)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41B2 #86B241
analogous
#414DB2 #6D41B2 #A641B2
triadic
#6D41B2 #B26D41 #41B26D
tetradic
#6D41B2 #B2414D #86B241 #41B2A6
square
#6D41B2 #B2414D #86B241 #41B2A6
split-complementary
#6D41B2 #B2A641 #4DB241
monochromatic
#362058 #523185 #6D41B2 #8E68C8 #AF95D8

Accessibility & contrast

On white

6.89
#6D41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6D41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41B2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41B2#FFFFFF#000000##FFFFFF
##6D41B21.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0159B0
Tritanopia (blue-blind)
#5D5A73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d41b2;
/* rgb */ color: rgb(109, 65, 178);
/* oklch */ color: oklch(48.7% 0.172 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c78ca',
    500: '#6d41b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d41b2;
$custom-light: #9c78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41b2",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 263.363,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.17155,
    "h": 297.6
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#6D41B2
secondary
#AEC48B
accent
#D652A3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6D41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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