#6A3CB7#6A3CB7

#6A3CB7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.0% C 0.184 H 295.9°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#6A3CB7
RGBrgb(106, 60, 183)
HSLhsl(262, 51%, 48%)
HSVhsv(262, 67%, 72%)
CMYKcmyk(42.1%, 67.2%, 0%, 28.2%)
CIE-LABlab(37.32, 46.83, -57.93)
CIE-LCHlch(37.32, 74.49, 308.95°)
OKLaboklab(48.02% 0.0802 -0.1655)
OKLCHoklch(48.02% 0.184 295.9)
XYZxyz(16.1047, 9.7144, 45.8171)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CB7 #89B73C
analogous
#3C4CB7 #6A3CB7 #A73CB7
triadic
#6A3CB7 #B76A3C #3CB76A
tetradic
#6A3CB7 #B73C4C #89B73C #3CB7A7
square
#6A3CB7 #B73C4C #89B73C #3CB7A7
split-complementary
#6A3CB7 #B7A73C #4CB73C
monochromatic
#351E5B #4F2D89 #6A3CB7 #8B64CC #AD92DB

Accessibility & contrast

On white

7.14
#6A3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3CB7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CB7#FFFFFF#000000##FFFFFF
##6A3CB71.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#565974
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a3cb7;
/* rgb */ color: rgb(106, 60, 183);
/* oklch */ color: oklch(48.0% 0.184 295.9);
Tailwind
colors: {
  custom: {
    50: '#9b75cd',
    500: '#6a3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #6a3cb7;
$custom-light: #9b75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3cb7",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 262.439,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48015,
    "c": 0.18388,
    "h": 295.9
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#6A3CB7
secondary
#AFC688
accent
#DA4EA6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0814
muted
#7E7B82

Preview Lab

Preview with #6A3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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