#6B41D5#6B41D5

#6B41D5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.213 H 289.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6B41D5
RGBrgb(107, 65, 213)
HSLhsl(257, 64%, 55%)
HSVhsv(257, 69%, 84%)
CMYKcmyk(49.8%, 69.5%, 0%, 16.5%)
CIE-LABlab(40.75, 52.58, -69.82)
CIE-LCHlch(40.75, 87.40, 306.99°)
OKLaboklab(51.23% 0.0719 -0.2004)
OKLCHoklch(51.23% 0.213 289.7)
XYZxyz(19.9605, 11.7096, 64.1463)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41D5 #ABD541
analogous
#4161D5 #6B41D5 #B541D5
triadic
#6B41D5 #D56B41 #41D56B
tetradic
#6B41D5 #D54161 #ABD541 #41D5B5
square
#6B41D5 #D54161 #ABD541 #41D5B5
split-complementary
#6B41D5 #D5B541 #61D541
monochromatic
#381C7F #4E27B2 #6B41D5 #9273E0 #B9A5EB

Accessibility & contrast

On white

6.28
#6B41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6B41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41D5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41D5#FFFFFF#000000##FFFFFF
##6B41D51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#466786
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b41d5;
/* rgb */ color: rgb(107, 65, 213);
/* oklch */ color: oklch(51.2% 0.213 289.7);
Tailwind
colors: {
  custom: {
    50: '#9f79e3',
    500: '#6b41d5',
    950: '#000000',
  },
}
SCSS
$custom: #6b41d5;
$custom-light: #9f79e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41d5",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 257.027,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51231,
    "c": 0.21288,
    "h": 289.7
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#6B41D5
secondary
#C6D89A
accent
#E741B8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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