#6C3E95#6C3E95

#6C3E95 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.1% C 0.141 H 306.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#6C3E95
RGBrgb(108, 62, 149)
HSLhsl(272, 41%, 41%)
HSVhsv(272, 58%, 58%)
CMYKcmyk(27.5%, 58.4%, 0%, 41.6%)
CIE-LABlab(35.60, 37.35, -40.33)
CIE-LCHlch(35.60, 54.97, 312.80°)
OKLaboklab(46.07% 0.0827 -0.1137)
OKLCHoklch(46.07% 0.141 306)
XYZxyz(13.3306, 8.8034, 29.4249)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C3E95 #67953E
analogous
#413E95 #6C3E95 #953E93
triadic
#6C3E95 #956C3E #3E956C
tetradic
#6C3E95 #95413E #67953E #3E9395
square
#6C3E95 #95413E #67953E #3E9395
split-complementary
#6C3E95 #93953E #3E9541
monochromatic
#2D1A3F #4D2C6A #6C3E95 #8B57B9 #A982CB

Accessibility & contrast

On white

7.61
#6C3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6C3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C3E95
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C3E95#FFFFFF#000000##FFFFFF
##6C3E951.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5298
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#654F63
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6c3e95;
/* rgb */ color: rgb(108, 62, 149);
/* oklch */ color: oklch(46.1% 0.141 306.0);
Tailwind
colors: {
  custom: {
    50: '#9975b5',
    500: '#6c3e95',
    950: '#000000',
  },
}
SCSS
$custom: #6c3e95;
$custom-light: #9975b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c3e95",
  "rgb": {
    "r": 108,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 271.724,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46069,
    "c": 0.14059,
    "h": 306
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#6C3E95
secondary
#96B57A
accent
#D15790
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6C3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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