#6F41CB#6F41CB

#6F41CB is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 50.8% C 0.201 H 293.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6F41CB
RGBrgb(111, 65, 203)
HSLhsl(260, 57%, 53%)
HSVhsv(260, 68%, 80%)
CMYKcmyk(45.3%, 68%, 0%, 20.4%)
CIE-LABlab(40.36, 50.55, -64.66)
CIE-LCHlch(40.36, 82.07, 308.02°)
OKLaboklab(50.8% 0.0792 -0.1851)
OKLCHoklch(50.8% 0.201 293.2)
XYZxyz(19.2224, 11.4713, 57.6897)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41CB #9DCB41
analogous
#4158CB #6F41CB #B441CB
triadic
#6F41CB #CB6F41 #41CB6F
tetradic
#6F41CB #CB4158 #9DCB41 #41CBB4
square
#6F41CB #CB4158 #9DCB41 #41CBB4
split-complementary
#6F41CB #CBB441 #58CB41
monochromatic
#3B1F72 #542CA2 #6F41CB #9371D8 #B8A1E5

Accessibility & contrast

On white

6.37
#6F41CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6F41CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41CB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41CB#FFFFFF#000000##FFFFFF
##6F41CB1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#546381
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f41cb;
/* rgb */ color: rgb(111, 65, 203);
/* oklch */ color: oklch(50.8% 0.201 293.2);
Tailwind
colors: {
  custom: {
    50: '#a079dc',
    500: '#6f41cb',
    950: '#000000',
  },
}
SCSS
$custom: #6f41cb;
$custom-light: #a079dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41cb",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 260,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.20132,
    "h": 293.2
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#6F41CB
secondary
#BED296
accent
#E048AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6F41CB

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

Preview Lab → · Contrast checker → · Palette generator →

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