#6A3CB3#6A3CB3

#6A3CB3 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.7% C 0.179 H 296.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6A3CB3
RGBrgb(106, 60, 179)
HSLhsl(263, 50%, 47%)
HSVhsv(263, 66%, 70%)
CMYKcmyk(40.8%, 66.5%, 0%, 29.8%)
CIE-LABlab(37.02, 45.76, -56.06)
CIE-LCHlch(37.02, 72.36, 309.23°)
OKLaboklab(47.7% 0.0807 -0.1599)
OKLCHoklch(47.7% 0.179 296.8)
XYZxyz(15.6943, 9.5503, 43.6556)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CB3 #85B33C
analogous
#3C4AB3 #6A3CB3 #A63CB3
triadic
#6A3CB3 #B36A3C #3CB36A
tetradic
#6A3CB3 #B33C4A #85B33C #3CB3A6
square
#6A3CB3 #B33C4A #85B33C #3CB3A6
split-complementary
#6A3CB3 #B3A63C #4AB33C
monochromatic
#341D57 #4F2D85 #6A3CB3 #8A62CA #AC90DA

Accessibility & contrast

On white

7.22
#6A3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6A3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CB3
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CB3#FFFFFF#000000##FFFFFF
##6A3CB31.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#585872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3cb3;
/* rgb */ color: rgb(106, 60, 179);
/* oklch */ color: oklch(47.7% 0.179 296.8);
Tailwind
colors: {
  custom: {
    50: '#9a75cb',
    500: '#6a3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cb3;
$custom-light: #9a75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cb3",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 263.193,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.17916,
    "h": 296.8
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

primary
#6A3CB3
secondary
#ACC586
accent
#D94EA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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