#6B41C8#6B41C8

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

Color values

HEX#6B41C8
RGBrgb(107, 65, 200)
HSLhsl(259, 55%, 52%)
HSVhsv(259, 68%, 78%)
CMYKcmyk(46.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(39.71, 49.00, -64.00)
CIE-LCHlch(39.71, 80.60, 307.44°)
OKLaboklab(50.16% 0.0741 -0.1833)
OKLCHoklch(50.16% 0.198 292)
XYZxyz(18.3761, 11.0759, 55.8020)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41C8 #9EC841
analogous
#415BC8 #6B41C8 #AF41C8
triadic
#6B41C8 #C86B41 #41C86B
tetradic
#6B41C8 #C8415B #9EC841 #41C8AF
square
#6B41C8 #C8415B #9EC841 #41C8AF
split-complementary
#6B41C8 #C8AF41 #5BC841
monochromatic
#38206F #512E9E #6B41C8 #9070D6 #B5A0E3

Accessibility & contrast

On white

6.53
#6B41C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B41C8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41C8#FFFFFF#000000##FFFFFF
##6B41C81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#4F627F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b41c8;
/* rgb */ color: rgb(107, 65, 200);
/* oklch */ color: oklch(50.2% 0.198 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d78da',
    500: '#6b41c8',
    950: '#000000',
  },
}
SCSS
$custom: #6b41c8;
$custom-light: #9d78da;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41c8",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 258.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50161,
    "c": 0.19769,
    "h": 292
  },
  "luminance": 0.11077
}

Semantic roles & 50–950 ramp

primary
#6B41C8
secondary
#BED095
accent
#DE49B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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