#6F41C8#6F41C8

#6F41C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.198 H 293.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6F41C8
RGBrgb(111, 65, 200)
HSLhsl(260, 55%, 52%)
HSVhsv(260, 68%, 78%)
CMYKcmyk(44.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(40.13, 49.74, -63.30)
CIE-LCHlch(40.13, 80.50, 308.16°)
OKLaboklab(50.56% 0.0797 -0.1811)
OKLCHoklch(50.56% 0.198 293.7)
XYZxyz(18.8683, 11.3297, 55.8251)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41C8 #9AC841
analogous
#4157C8 #6F41C8 #B241C8
triadic
#6F41C8 #C86F41 #41C86F
tetradic
#6F41C8 #C84157 #9AC841 #41C8B2
square
#6F41C8 #C84157 #9AC841 #41C8B2
split-complementary
#6F41C8 #C8B241 #57C841
monochromatic
#3B206F #542E9E #6F41C8 #9370D6 #B7A0E3

Accessibility & contrast

On white

6.43
#6F41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6F41C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41C8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41C8#FFFFFF#000000##FFFFFF
##6F41C81.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#56627F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6f41c8;
/* rgb */ color: rgb(111, 65, 200);
/* oklch */ color: oklch(50.6% 0.198 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f79da',
    500: '#6f41c8',
    950: '#000000',
  },
}
SCSS
$custom: #6f41c8;
$custom-light: #9f79da;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41c8",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 260.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.19783,
    "h": 293.7
  },
  "luminance": 0.1133
}

Semantic roles & 50–950 ramp

primary
#6F41C8
secondary
#BCD095
accent
#DE49AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6F41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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