#6F41C3#6F41C3

#6F41C3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.192 H 294.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6F41C3
RGBrgb(111, 65, 195)
HSLhsl(261, 52%, 51%)
HSVhsv(261, 67%, 76%)
CMYKcmyk(43.1%, 66.7%, 0%, 23.5%)
CIE-LABlab(39.75, 48.39, -61.01)
CIE-LCHlch(39.75, 77.87, 308.42°)
OKLaboklab(50.17% 0.0804 -0.1743)
OKLCHoklch(50.17% 0.192 294.7)
XYZxyz(18.2935, 11.0998, 52.7978)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41C3 #95C341
analogous
#4154C3 #6F41C3 #B041C3
triadic
#6F41C3 #C36F41 #41C36F
tetradic
#6F41C3 #C34154 #95C341 #41C3B0
square
#6F41C3 #C34154 #95C341 #41C3B0
split-complementary
#6F41C3 #C3B041 #54C341
monochromatic
#3A2169 #543097 #6F41C3 #9270D2 #B69EE0

Accessibility & contrast

On white

6.52
#6F41C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6F41C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41C3
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41C3#FFFFFF#000000##FFFFFF
##6F41C31.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#58607C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6f41c3;
/* rgb */ color: rgb(111, 65, 195);
/* oklch */ color: oklch(50.2% 0.192 294.7);
Tailwind
colors: {
  custom: {
    50: '#9f79d6',
    500: '#6f41c3',
    950: '#000000',
  },
}
SCSS
$custom: #6f41c3;
$custom-light: #9f79d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41c3",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 261.231,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.19198,
    "h": 294.7
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#6F41C3
secondary
#B8CD93
accent
#DB4CA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F41C3

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

Preview Lab → · Contrast checker → · Palette generator →

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