#6A3CB2#6A3CB2

#6A3CB2 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.6% C 0.178 H 297.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6A3CB2
RGBrgb(106, 60, 178)
HSLhsl(263, 50%, 47%)
HSVhsv(263, 66%, 70%)
CMYKcmyk(40.4%, 66.3%, 0%, 30.2%)
CIE-LABlab(36.95, 45.49, -55.59)
CIE-LCHlch(36.95, 71.83, 309.30°)
OKLaboklab(47.63% 0.0808 -0.1586)
OKLCHoklch(47.63% 0.178 297)
XYZxyz(15.5935, 9.5100, 43.1249)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CB2 #84B23C
analogous
#3C49B2 #6A3CB2 #A53CB2
triadic
#6A3CB2 #B26A3C #3CB26A
tetradic
#6A3CB2 #B23C49 #84B23C #3CB2A5
square
#6A3CB2 #B23C49 #84B23C #3CB2A5
split-complementary
#6A3CB2 #B2A53C #49B23C
monochromatic
#331D56 #4F2D84 #6A3CB2 #8A61CA #AC8FD9

Accessibility & contrast

On white

7.24
#6A3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6A3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CB2
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CB2#FFFFFF#000000##FFFFFF
##6A3CB21.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#585872
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a3cb2;
/* rgb */ color: rgb(106, 60, 178);
/* oklch */ color: oklch(47.6% 0.178 297.0);
Tailwind
colors: {
  custom: {
    50: '#9a75ca',
    500: '#6a3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cb2;
$custom-light: #9a75ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cb2",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 263.39,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47626,
    "c": 0.17799,
    "h": 297
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#6A3CB2
secondary
#ACC486
accent
#D94FA3
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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