#6E41B2#6E41B2

#6E41B2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.8% C 0.172 H 298.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6E41B2
RGBrgb(110, 65, 178)
HSLhsl(264, 47%, 48%)
HSVhsv(264, 63%, 70%)
CMYKcmyk(38.2%, 63.5%, 0%, 30.2%)
CIE-LABlab(38.39, 43.65, -53.23)
CIE-LCHlch(38.39, 68.84, 309.36°)
OKLaboklab(48.77% 0.0808 -0.1515)
OKLCHoklch(48.77% 0.172 298.1)
XYZxyz(16.3546, 10.3097, 43.2392)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E41B2 #85B241
analogous
#414CB2 #6E41B2 #A741B2
triadic
#6E41B2 #B26E41 #41B26E
tetradic
#6E41B2 #B2414C #85B241 #41B2A7
square
#6E41B2 #B2414C #85B241 #41B2A7
split-complementary
#6E41B2 #B2A741 #4CB241
monochromatic
#372058 #523185 #6E41B2 #8E68C8 #B095D8

Accessibility & contrast

On white

6.86
#6E41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6E41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E41B2
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E41B2#FFFFFF#000000##FFFFFF
##6E41B21.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#0459B0
Tritanopia (blue-blind)
#5E5A73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e41b2;
/* rgb */ color: rgb(110, 65, 178);
/* oklch */ color: oklch(48.8% 0.172 298.1);
Tailwind
colors: {
  custom: {
    50: '#9c78ca',
    500: '#6e41b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e41b2;
$custom-light: #9c78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e41b2",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 263.894,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48772,
    "c": 0.17169,
    "h": 298.1
  },
  "luminance": 0.1031
}

Semantic roles & 50–950 ramp

primary
#6E41B2
secondary
#ADC48B
accent
#D652A1
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6E41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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