#6F41E0#6F41E0

#6F41E0 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.225 H 289.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#6F41E0
RGBrgb(111, 65, 224)
HSLhsl(257, 72%, 57%)
HSVhsv(257, 71%, 88%)
CMYKcmyk(50.4%, 71%, 0%, 12.2%)
CIE-LABlab(42.06, 56.24, -73.95)
CIE-LCHlch(42.06, 92.91, 307.25°)
OKLaboklab(52.54% 0.0754 -0.2124)
OKLCHoklch(52.54% 0.225 289.5)
XYZxyz(21.8965, 12.5410, 71.7735)
Luminance0.1254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41E0 #B2E041
analogous
#4163E0 #6F41E0 #BE41E0
triadic
#6F41E0 #E06F41 #41E06F
tetradic
#6F41E0 #E04163 #B2E041 #41E0BE
square
#6F41E0 #E04163 #B2E041 #41E0BE
split-complementary
#6F41E0 #E0BE41 #63E041
monochromatic
#3A178F #4F20C4 #6F41E0 #9776E9 #BFAAF1

Accessibility & contrast

On white

5.99
#6F41E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6F41E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41E0
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41E0#FFFFFF#000000##FFFFFF
##6F41E01.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#476B8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f41e0;
/* rgb */ color: rgb(111, 65, 224);
/* oklch */ color: oklch(52.5% 0.225 289.5);
Tailwind
colors: {
  custom: {
    50: '#a27aeb',
    500: '#6f41e0',
    950: '#000000',
  },
}
SCSS
$custom: #6f41e0;
$custom-light: #a27aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41e0",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 224
  },
  "hsl": {
    "h": 257.358,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.22535,
    "h": 289.5
  },
  "luminance": 0.12542
}

Semantic roles & 50–950 ramp

primary
#6F41E0
secondary
#CCDF9E
accent
#EF39BA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F41E0

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

Preview Lab → · Contrast checker → · Palette generator →

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