#6B41DF#6B41DF

#6B41DF is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.224 H 288.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6B41DF
RGBrgb(107, 65, 223)
HSLhsl(256, 71%, 56%)
HSVhsv(256, 71%, 87%)
CMYKcmyk(52%, 70.9%, 0%, 12.5%)
CIE-LABlab(41.58, 55.35, -74.18)
CIE-LCHlch(41.58, 92.55, 306.73°)
OKLaboklab(52.08% 0.07 -0.2132)
OKLCHoklch(52.08% 0.224 288.2)
XYZxyz(21.2691, 12.2331, 71.0382)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41DF #B5DF41
analogous
#4166DF #6B41DF #BA41DF
triadic
#6B41DF #DF6B41 #41DF6B
tetradic
#6B41DF #DF4166 #B5DF41 #41DFBA
square
#6B41DF #DF4166 #B5DF41 #41DFBA
split-complementary
#6B41DF #DFBA41 #66DF41
monochromatic
#37188E #4C21C2 #6B41DF #9475E8 #BDAAF1

Accessibility & contrast

On white

6.09
#6B41DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6B41DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41DF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41DF#FFFFFF#000000##FFFFFF
##6B41DF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E4
Deuteranopia (green-blind)
#005EDC
Tritanopia (blue-blind)
#3E6B8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b41df;
/* rgb */ color: rgb(107, 65, 223);
/* oklch */ color: oklch(52.1% 0.224 288.2);
Tailwind
colors: {
  custom: {
    50: '#a079ea',
    500: '#6b41df',
    950: '#000000',
  },
}
SCSS
$custom: #6b41df;
$custom-light: #a079ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41df",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 255.949,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52081,
    "c": 0.22436,
    "h": 288.2
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#6B41DF
secondary
#CDDE9D
accent
#EE3ABE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B41DF

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

Preview Lab → · Contrast checker → · Palette generator →

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