#6F41D3#6F41D3

#6F41D3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.211 H 291.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6F41D3
RGBrgb(111, 65, 211)
HSLhsl(259, 62%, 54%)
HSVhsv(259, 69%, 83%)
CMYKcmyk(47.4%, 69.2%, 0%, 17.3%)
CIE-LABlab(41.00, 52.71, -68.25)
CIE-LCHlch(41.00, 86.23, 307.68°)
OKLaboklab(51.45% 0.0779 -0.1956)
OKLCHoklch(51.45% 0.211 291.7)
XYZxyz(20.2004, 11.8625, 62.8407)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41D3 #A5D341
analogous
#415CD3 #6F41D3 #B841D3
triadic
#6F41D3 #D36F41 #41D36F
tetradic
#6F41D3 #D3415C #A5D341 #41D3B8
square
#6F41D3 #D3415C #A5D341 #41D3B8
split-complementary
#6F41D3 #D3B841 #5CD341
monochromatic
#3B1D7D #5328AE #6F41D3 #9573DF #BAA4EA

Accessibility & contrast

On white

6.23
#6F41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6F41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41D3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41D3#FFFFFF#000000##FFFFFF
##6F41D31.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#4F6685
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f41d3;
/* rgb */ color: rgb(111, 65, 211);
/* oklch */ color: oklch(51.5% 0.211 291.7);
Tailwind
colors: {
  custom: {
    50: '#a179e2',
    500: '#6f41d3',
    950: '#000000',
  },
}
SCSS
$custom: #6f41d3;
$custom-light: #a179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41d3",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 258.904,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51452,
    "c": 0.21055,
    "h": 291.7
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#6F41D3
secondary
#C3D799
accent
#E542B2
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #6F41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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