#6C41B2#6C41B2

#6C41B2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.171 H 297.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#6C41B2
RGBrgb(108, 65, 178)
HSLhsl(263, 47%, 48%)
HSVhsv(263, 63%, 70%)
CMYKcmyk(39.3%, 63.5%, 0%, 30.2%)
CIE-LABlab(38.17, 43.21, -53.60)
CIE-LCHlch(38.17, 68.85, 308.88°)
OKLaboklab(48.56% 0.078 -0.1527)
OKLCHoklch(48.56% 0.171 297.1)
XYZxyz(16.1085, 10.1828, 43.2276)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41B2 #87B241
analogous
#414EB2 #6C41B2 #A541B2
triadic
#6C41B2 #B26C41 #41B26C
tetradic
#6C41B2 #B2414E #87B241 #41B2A5
square
#6C41B2 #B2414E #87B241 #41B2A5
split-complementary
#6C41B2 #B2A541 #4EB241
monochromatic
#362058 #513185 #6C41B2 #8D68C8 #AF95D8

Accessibility & contrast

On white

6.92
#6C41B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6C41B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C41B2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C41B2#FFFFFF#000000##FFFFFF
##6C41B21.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#5B5A73
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6c41b2;
/* rgb */ color: rgb(108, 65, 178);
/* oklch */ color: oklch(48.6% 0.171 297.1);
Tailwind
colors: {
  custom: {
    50: '#9b78ca',
    500: '#6c41b2',
    950: '#000000',
  },
}
SCSS
$custom: #6c41b2;
$custom-light: #9b78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41b2",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 262.832,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48559,
    "c": 0.17144,
    "h": 297.1
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#6C41B2
secondary
#AEC48B
accent
#D652A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6C41B2

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

Preview Lab → · Contrast checker → · Palette generator →

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