#6F41CD#6F41CD

#6F41CD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.204 H 292.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6F41CD
RGBrgb(111, 65, 205)
HSLhsl(260, 58%, 53%)
HSVhsv(260, 68%, 80%)
CMYKcmyk(45.9%, 68.3%, 0%, 19.6%)
CIE-LABlab(40.52, 51.08, -65.56)
CIE-LCHlch(40.52, 83.11, 307.93°)
OKLaboklab(50.96% 0.0789 -0.1877)
OKLCHoklch(50.96% 0.204 292.8)
XYZxyz(19.4622, 11.5673, 58.9530)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41CD #9FCD41
analogous
#4159CD #6F41CD #B541CD
triadic
#6F41CD #CD6F41 #41CD6F
tetradic
#6F41CD #CD4159 #9FCD41 #41CDB5
square
#6F41CD #CD4159 #9FCD41 #41CDB5
split-complementary
#6F41CD #CDB541 #59CD41
monochromatic
#3B1F75 #542CA5 #6F41CD #9471DA #B8A2E6

Accessibility & contrast

On white

6.34
#6F41CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6F41CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41CD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41CD#FFFFFF#000000##FFFFFF
##6F41CD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#536482
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f41cd;
/* rgb */ color: rgb(111, 65, 205);
/* oklch */ color: oklch(51.0% 0.204 292.8);
Tailwind
colors: {
  custom: {
    50: '#a079dd',
    500: '#6f41cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f41cd;
$custom-light: #a079dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41cd",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 259.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.20363,
    "h": 292.8
  },
  "luminance": 0.11568
}

Semantic roles & 50–950 ramp

primary
#6F41CD
secondary
#BFD397
accent
#E246AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6F41CD

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

Preview Lab → · Contrast checker → · Palette generator →

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