#6B41D2#6B41D2

#6B41D2 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.209 H 290.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6B41D2
RGBrgb(107, 65, 210)
HSLhsl(257, 62%, 54%)
HSVhsv(257, 69%, 82%)
CMYKcmyk(49%, 69%, 0%, 17.6%)
CIE-LABlab(40.51, 51.75, -68.49)
CIE-LCHlch(40.51, 85.84, 307.08°)
OKLaboklab(50.98% 0.0725 -0.1965)
OKLCHoklch(50.98% 0.209 290.2)
XYZxyz(19.5832, 11.5587, 62.1595)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41D2 #A8D241
analogous
#4160D2 #6B41D2 #B341D2
triadic
#6B41D2 #D26B41 #41D26B
tetradic
#6B41D2 #D24160 #A8D241 #41D2B3
square
#6B41D2 #D24160 #A8D241 #41D2B3
split-complementary
#6B41D2 #D2B341 #60D241
monochromatic
#381D7B #4F29AD #6B41D2 #9272DE #B8A4E9

Accessibility & contrast

On white

6.34
#6B41D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6B41D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41D2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41D2#FFFFFF#000000##FFFFFF
##6B41D21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#486685
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b41d2;
/* rgb */ color: rgb(107, 65, 210);
/* oklch */ color: oklch(51.0% 0.209 290.2);
Tailwind
colors: {
  custom: {
    50: '#9e79e1',
    500: '#6b41d2',
    950: '#000000',
  },
}
SCSS
$custom: #6b41d2;
$custom-light: #9e79e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41d2",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 210
  },
  "hsl": {
    "h": 257.379,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.20939,
    "h": 290.2
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#6B41D2
secondary
#C4D698
accent
#E543B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B41D2

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

Preview Lab → · Contrast checker → · Palette generator →

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