#6B41CD#6B41CD

#6B41CD is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.6% C 0.204 H 291.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6B41CD
RGBrgb(107, 65, 205)
HSLhsl(258, 58%, 53%)
HSVhsv(258, 68%, 80%)
CMYKcmyk(47.8%, 68.3%, 0%, 19.6%)
CIE-LABlab(40.10, 50.37, -66.26)
CIE-LCHlch(40.10, 83.23, 307.24°)
OKLaboklab(50.57% 0.0733 -0.1899)
OKLCHoklch(50.57% 0.204 291.1)
XYZxyz(18.9700, 11.3135, 58.9300)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41CD #A3CD41
analogous
#415DCD #6B41CD #B141CD
triadic
#6B41CD #CD6B41 #41CD6B
tetradic
#6B41CD #CD415D #A3CD41 #41CDB1
square
#6B41CD #CD415D #A3CD41 #41CDB1
split-complementary
#6B41CD #CDB141 #5DCD41
monochromatic
#391F75 #502CA5 #6B41CD #9171DA #B6A2E6

Accessibility & contrast

On white

6.44
#6B41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6B41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41CD#FFFFFF#000000##FFFFFF
##6B41CD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#4C6482
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b41cd;
/* rgb */ color: rgb(107, 65, 205);
/* oklch */ color: oklch(50.6% 0.204 291.1);
Tailwind
colors: {
  custom: {
    50: '#9e79dd',
    500: '#6b41cd',
    950: '#000000',
  },
}
SCSS
$custom: #6b41cd;
$custom-light: #9e79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41cd",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 258,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.20356,
    "h": 291.1
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

primary
#6B41CD
secondary
#C1D397
accent
#E246B3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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