#6F41D9#6F41D9

#6F41D9 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 51.9% C 0.217 H 290.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6F41D9
RGBrgb(111, 65, 217)
HSLhsl(258, 67%, 55%)
HSVhsv(258, 70%, 85%)
CMYKcmyk(48.8%, 70%, 0%, 14.9%)
CIE-LABlab(41.48, 54.34, -70.90)
CIE-LCHlch(41.48, 89.33, 307.47°)
OKLaboklab(51.95% 0.0768 -0.2034)
OKLCHoklch(51.95% 0.217 290.7)
XYZxyz(20.9667, 12.1690, 66.8763)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41D9 #ABD941
analogous
#415FD9 #6F41D9 #BB41D9
triadic
#6F41D9 #D96F41 #41D96F
tetradic
#6F41D9 #D9415F #ABD941 #41D9BB
square
#6F41D9 #D9415F #ABD941 #41D9BB
split-complementary
#6F41D9 #D9BB41 #5FD941
monochromatic
#3B1B85 #5125B8 #6F41D9 #9674E3 #BCA7ED

Accessibility & contrast

On white

6.12
#6F41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6F41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41D9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41D9#FFFFFF#000000##FFFFFF
##6F41D91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#4C6888
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f41d9;
/* rgb */ color: rgb(111, 65, 217);
/* oklch */ color: oklch(51.9% 0.217 290.7);
Tailwind
colors: {
  custom: {
    50: '#a179e6',
    500: '#6f41d9',
    950: '#000000',
  },
}
SCSS
$custom: #6f41d9;
$custom-light: #a179e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41d9",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 258.158,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.21742,
    "h": 290.7
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#6F41D9
secondary
#C7DB9B
accent
#EA3EB6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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