#6F41CC#6F41CC

#6F41CC is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.9% C 0.202 H 293.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#6F41CC
RGBrgb(111, 65, 204)
HSLhsl(260, 58%, 53%)
HSVhsv(260, 68%, 80%)
CMYKcmyk(45.6%, 68.1%, 0%, 20%)
CIE-LABlab(40.44, 50.81, -65.11)
CIE-LCHlch(40.44, 82.59, 307.97°)
OKLaboklab(50.88% 0.0791 -0.1864)
OKLCHoklch(50.88% 0.202 293)
XYZxyz(19.3419, 11.5191, 58.3193)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41CC #9ECC41
analogous
#4159CC #6F41CC #B441CC
triadic
#6F41CC #CC6F41 #41CC6F
tetradic
#6F41CC #CC4159 #9ECC41 #41CCB4
square
#6F41CC #CC4159 #9ECC41 #41CCB4
split-complementary
#6F41CC #CCB441 #59CC41
monochromatic
#3B1F74 #542CA4 #6F41CC #9471D9 #B8A1E6

Accessibility & contrast

On white

6.36
#6F41CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6F41CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41CC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41CC#FFFFFF#000000##FFFFFF
##6F41CC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#536381
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f41cc;
/* rgb */ color: rgb(111, 65, 204);
/* oklch */ color: oklch(50.9% 0.202 293.0);
Tailwind
colors: {
  custom: {
    50: '#a079dd',
    500: '#6f41cc',
    950: '#000000',
  },
}
SCSS
$custom: #6f41cc;
$custom-light: #a079dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41cc",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 259.856,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.20248,
    "h": 293
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

primary
#6F41CC
secondary
#BFD396
accent
#E147AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6F41CC

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

Preview Lab → · Contrast checker → · Palette generator →

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