#6A3CA1#6A3CA1

#6A3CA1 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.158 H 301.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#6A3CA1
RGBrgb(106, 60, 161)
HSLhsl(267, 46%, 43%)
HSVhsv(267, 63%, 63%)
CMYKcmyk(34.2%, 62.7%, 0%, 36.9%)
CIE-LABlab(35.73, 41.03, -47.40)
CIE-LCHlch(35.73, 62.69, 310.88°)
OKLaboklab(46.36% 0.0823 -0.1345)
OKLCHoklch(46.36% 0.158 301.5)
XYZxyz(13.9912, 8.8690, 34.6861)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3CA1 #73A13C
analogous
#3C40A1 #6A3CA1 #9C3CA1
triadic
#6A3CA1 #A16A3C #3CA16A
tetradic
#6A3CA1 #A13C40 #73A13C #3CA19C
square
#6A3CA1 #A13C40 #73A13C #3CA19C
split-complementary
#6A3CA1 #A19C3C #40A13C
monochromatic
#2F1B48 #4D2B74 #6A3CA1 #8859C1 #A886D2

Accessibility & contrast

On white

7.57
#6A3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A3CA1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3CA1#FFFFFF#000000##FFFFFF
##6A3CA11.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#1A549F
Tritanopia (blue-blind)
#5F5269
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a3ca1;
/* rgb */ color: rgb(106, 60, 161);
/* oklch */ color: oklch(46.4% 0.158 301.5);
Tailwind
colors: {
  custom: {
    50: '#9974bd',
    500: '#6a3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #6a3ca1;
$custom-light: #9974bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3ca1",
  "rgb": {
    "r": 106,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 267.327,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4636,
    "c": 0.1577,
    "h": 301.5
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#6A3CA1
secondary
#9FBC7D
accent
#D5529A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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