#6B41D3#6B41D3

#6B41D3 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.211 H 290.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6B41D3
RGBrgb(107, 65, 211)
HSLhsl(257, 62%, 54%)
HSVhsv(257, 69%, 83%)
CMYKcmyk(49.3%, 69.2%, 0%, 17.3%)
CIE-LABlab(40.59, 52.03, -68.93)
CIE-LCHlch(40.59, 86.36, 307.05°)
OKLaboklab(51.06% 0.0723 -0.1978)
OKLCHoklch(51.06% 0.211 290.1)
XYZxyz(19.7082, 11.6087, 62.8177)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41D3 #A9D341
analogous
#4160D3 #6B41D3 #B441D3
triadic
#6B41D3 #D36B41 #41D36B
tetradic
#6B41D3 #D34160 #A9D341 #41D3B4
square
#6B41D3 #D34160 #A9D341 #41D3B4
split-complementary
#6B41D3 #D3B441 #60D341
monochromatic
#381D7D #4F28AE #6B41D3 #9273DF #B8A4EA

Accessibility & contrast

On white

6.32
#6B41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6B41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41D3
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41D3#FFFFFF#000000##FFFFFF
##6B41D31.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#486685
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b41d3;
/* rgb */ color: rgb(107, 65, 211);
/* oklch */ color: oklch(51.1% 0.211 290.1);
Tailwind
colors: {
  custom: {
    50: '#9e79e2',
    500: '#6b41d3',
    950: '#000000',
  },
}
SCSS
$custom: #6b41d3;
$custom-light: #9e79e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41d3",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 257.26,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.21056,
    "h": 290.1
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#6B41D3
secondary
#C5D799
accent
#E542B7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0915
muted
#7F7B84

Preview Lab

Preview with #6B41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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