#6B41E7#6B41E7

#6B41E7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.8% C 0.233 H 287.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6B41E7
RGBrgb(107, 65, 231)
HSLhsl(255, 78%, 58%)
HSVhsv(255, 72%, 91%)
CMYKcmyk(53.7%, 71.9%, 0%, 9.4%)
CIE-LABlab(42.27, 57.56, -77.61)
CIE-LCHlch(42.27, 96.63, 306.56°)
OKLaboklab(52.78% 0.0683 -0.2232)
OKLCHoklch(52.78% 0.233 287)
XYZxyz(22.3732, 12.6747, 76.8534)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41E7 #BDE741
analogous
#416AE7 #6B41E7 #BE41E7
triadic
#6B41E7 #E76B41 #41E76B
tetradic
#6B41E7 #E7416A #BDE741 #41E7BE
square
#6B41E7 #E7416A #BDE741 #41E7BE
split-complementary
#6B41E7 #E7BE41 #6AE741
monochromatic
#36139A #481AD0 #6B41E7 #9577EE #C0AEF5

Accessibility & contrast

On white

5.94
#6B41E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6B41E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41E7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41E7#FFFFFF#000000##FFFFFF
##6B41E71.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#376E90
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6b41e7;
/* rgb */ color: rgb(107, 65, 231);
/* oklch */ color: oklch(52.8% 0.233 287.0);
Tailwind
colors: {
  custom: {
    50: '#a17af0',
    500: '#6b41e7',
    950: '#000000',
  },
}
SCSS
$custom: #6b41e7;
$custom-light: #a17af0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41e7",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 231
  },
  "hsl": {
    "h": 255.181,
    "s": 77.57,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.23343,
    "h": 287
  },
  "luminance": 0.12676
}

Semantic roles & 50–950 ramp

primary
#6B41E7
secondary
#D2E3A1
accent
#F434C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6B41E7

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

Preview Lab → · Contrast checker → · Palette generator →

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