#6A3CBE#6A3CBE

#6A3CBE is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.6% C 0.192 H 294.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#6A3CBE
RGBrgb(106, 60, 190)
HSLhsl(261, 52%, 49%)
HSVhsv(261, 68%, 75%)
CMYKcmyk(44.2%, 68.4%, 0%, 25.5%)
CIE-LABlab(37.87, 48.71, -61.17)
CIE-LCHlch(37.87, 78.19, 308.53°)
OKLaboklab(48.57% 0.0792 -0.175)
OKLCHoklch(48.57% 0.192 294.3)
XYZxyz(16.8515, 10.0131, 49.7501)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CBE #90BE3C
analogous
#3C4FBE #6A3CBE #AB3CBE
triadic
#6A3CBE #BE6A3C #3CBE6A
tetradic
#6A3CBE #BE3C4F #90BE3C #3CBEAB
square
#6A3CBE #BE3C4F #90BE3C #3CBEAB
split-complementary
#6A3CBE #BEAB3C #4FBE3C
monochromatic
#361F61 #502D8F #6A3CBE #8C68CF #B096DE

Accessibility & contrast

On white

6.99
#6A3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#6A3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A3CBE
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CBE#FFFFFF#000000##FFFFFF
##6A3CBE1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#525C78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a3cbe;
/* rgb */ color: rgb(106, 60, 190);
/* oklch */ color: oklch(48.6% 0.192 294.3);
Tailwind
colors: {
  custom: {
    50: '#9b75d3',
    500: '#6a3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cbe;
$custom-light: #9b75d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cbe",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 261.231,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.19206,
    "h": 294.3
  },
  "luminance": 0.10014
}

Semantic roles & 50–950 ramp

primary
#6A3CBE
secondary
#B4CA8C
accent
#DB4CA9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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