#6F41BA#6F41BA

#6F41BA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.181 H 296.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6F41BA
RGBrgb(111, 65, 186)
HSLhsl(263, 48%, 49%)
HSVhsv(263, 65%, 73%)
CMYKcmyk(40.3%, 65.1%, 0%, 27.1%)
CIE-LABlab(39.08, 45.99, -56.83)
CIE-LCHlch(39.08, 73.10, 308.98°)
OKLaboklab(49.48% 0.0814 -0.162)
OKLCHoklch(49.48% 0.181 296.7)
XYZxyz(17.3065, 10.7049, 47.5993)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41BA #8CBA41
analogous
#4150BA #6F41BA #AC41BA
triadic
#6F41BA #BA6F41 #41BA6F
tetradic
#6F41BA #BA4150 #8CBA41 #41BAAC
square
#6F41BA #BA4150 #8CBA41 #41BAAC
split-complementary
#6F41BA #BAAC41 #50BA41
monochromatic
#39215F #54318D #6F41BA #916CCC #B39ADC

Accessibility & contrast

On white

6.69
#6F41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6F41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41BA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41BA#FFFFFF#000000##FFFFFF
##6F41BA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#5C5D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f41ba;
/* rgb */ color: rgb(111, 65, 186);
/* oklch */ color: oklch(49.5% 0.181 296.7);
Tailwind
colors: {
  custom: {
    50: '#9e78d0',
    500: '#6f41ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f41ba;
$custom-light: #9e78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41ba",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 262.81,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49476,
    "c": 0.18136,
    "h": 296.7
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#6F41BA
secondary
#B2C88F
accent
#D850A4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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