#6B41CA#6B41CA

#6B41CA is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.3% C 0.200 H 291.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6B41CA
RGBrgb(107, 65, 202)
HSLhsl(258, 56%, 52%)
HSVhsv(258, 68%, 79%)
CMYKcmyk(47%, 67.8%, 0%, 20.8%)
CIE-LABlab(39.87, 49.55, -64.91)
CIE-LCHlch(39.87, 81.66, 307.36°)
OKLaboklab(50.32% 0.0738 -0.1859)
OKLCHoklch(50.32% 0.2 291.6)
XYZxyz(18.6114, 11.1700, 57.0411)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41CA #A0CA41
analogous
#415CCA #6B41CA #B041CA
triadic
#6B41CA #CA6B41 #41CA6B
tetradic
#6B41CA #CA415C #A0CA41 #41CAB0
square
#6B41CA #CA415C #A0CA41 #41CAB0
split-complementary
#6B41CA #CAB041 #5CCA41
monochromatic
#392071 #502DA1 #6B41CA #9071D7 #B6A1E5

Accessibility & contrast

On white

6.49
#6B41CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6B41CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41CA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41CA#FFFFFF#000000##FFFFFF
##6B41CA1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#4D6380
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b41ca;
/* rgb */ color: rgb(107, 65, 202);
/* oklch */ color: oklch(50.3% 0.200 291.6);
Tailwind
colors: {
  custom: {
    50: '#9d79db',
    500: '#6b41ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b41ca;
$custom-light: #9d79db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41ca",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 258.394,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50323,
    "c": 0.20005,
    "h": 291.6
  },
  "luminance": 0.11171
}

Semantic roles & 50–950 ramp

primary
#6B41CA
secondary
#BFD196
accent
#E048B1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B41CA

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

Preview Lab → · Contrast checker → · Palette generator →

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