#6A3BA3#6A3BA3

#6A3BA3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.162 H 301.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6A3BA3
RGBrgb(106, 59, 163)
HSLhsl(267, 47%, 44%)
HSVhsv(267, 64%, 64%)
CMYKcmyk(35%, 63.8%, 0%, 36.1%)
CIE-LABlab(35.67, 42.09, -48.71)
CIE-LCHlch(35.67, 64.37, 310.83°)
OKLaboklab(46.36% 0.0834 -0.1383)
OKLCHoklch(46.36% 0.162 301.1)
XYZxyz(14.1171, 8.8364, 35.6051)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3BA3 #74A33B
analogous
#3B40A3 #6A3BA3 #9E3BA3
triadic
#6A3BA3 #A36A3B #3BA36A
tetradic
#6A3BA3 #A33B40 #74A33B #3BA39E
square
#6A3BA3 #A33B40 #74A33B #3BA39E
split-complementary
#6A3BA3 #A39E3B #40A33B
monochromatic
#301A49 #4D2B76 #6A3BA3 #8858C3 #A885D3

Accessibility & contrast

On white

7.59
#6A3BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6A3BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3BA3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3BA3#FFFFFF#000000##FFFFFF
##6A3BA31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#1453A1
Tritanopia (blue-blind)
#5E5269
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a3ba3;
/* rgb */ color: rgb(106, 59, 163);
/* oklch */ color: oklch(46.4% 0.162 301.1);
Tailwind
colors: {
  custom: {
    50: '#9974bf',
    500: '#6a3ba3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ba3;
$custom-light: #9974bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ba3",
  "rgb": {
    "r": 106,
    "g": 59,
    "b": 163
  },
  "hsl": {
    "h": 267.115,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.16155,
    "h": 301.1
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#6A3BA3
secondary
#A0BD7D
accent
#D6519A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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