#6F41DC#6F41DC

#6F41DC is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.221 H 290.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6F41DC
RGBrgb(111, 65, 220)
HSLhsl(258, 69%, 56%)
HSVhsv(258, 70%, 86%)
CMYKcmyk(49.5%, 70.5%, 0%, 13.7%)
CIE-LABlab(41.73, 55.15, -72.21)
CIE-LCHlch(41.73, 90.86, 307.37°)
OKLaboklab(52.2% 0.0762 -0.2073)
OKLCHoklch(52.2% 0.221 290.2)
XYZxyz(21.3604, 12.3265, 68.9500)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41DC #AEDC41
analogous
#4160DC #6F41DC #BC41DC
triadic
#6F41DC #DC6F41 #41DC6F
tetradic
#6F41DC #DC4160 #AEDC41 #41DCBC
square
#6F41DC #DC4160 #AEDC41 #41DCBC
split-complementary
#6F41DC #DCBC41 #60DC41
monochromatic
#3B1989 #5123BD #6F41DC #9675E6 #BDA8EF

Accessibility & contrast

On white

6.06
#6F41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6F41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41DC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41DC#FFFFFF#000000##FFFFFF
##6F41DC1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#4A698A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f41dc;
/* rgb */ color: rgb(111, 65, 220);
/* oklch */ color: oklch(52.2% 0.221 290.2);
Tailwind
colors: {
  custom: {
    50: '#a279e8',
    500: '#6f41dc',
    950: '#000000',
  },
}
SCSS
$custom: #6f41dc;
$custom-light: #a279e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41dc",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 257.806,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52201,
    "c": 0.22082,
    "h": 290.2
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#6F41DC
secondary
#C9DD9C
accent
#EC3CB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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