#6A3FA3#6A3FA3

#6A3FA3 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.0% C 0.156 H 300.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6A3FA3
RGBrgb(106, 63, 163)
HSLhsl(266, 44%, 44%)
HSVhsv(266, 61%, 64%)
CMYKcmyk(35%, 61.3%, 0%, 36.1%)
CIE-LABlab(36.49, 39.89, -47.39)
CIE-LCHlch(36.49, 61.94, 310.09°)
OKLaboklab(46.95% 0.0785 -0.1345)
OKLCHoklch(46.95% 0.156 300.3)
XYZxyz(14.3306, 9.2634, 35.6763)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3FA3 #78A33F
analogous
#3F46A3 #6A3FA3 #9C3FA3
triadic
#6A3FA3 #A36A3F #3FA36A
tetradic
#6A3FA3 #A33F46 #78A33F #3FA39C
square
#6A3FA3 #A33F46 #78A33F #3FA39C
split-complementary
#6A3FA3 #A39C3F #46A33F
monochromatic
#311D4B #4D2E77 #6A3FA3 #895EC1 #A98AD2

Accessibility & contrast

On white

7.36
#6A3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6A3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3FA3
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3FA3#FFFFFF#000000##FFFFFF
##6A3FA31.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A6
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#5E546B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a3fa3;
/* rgb */ color: rgb(106, 63, 163);
/* oklch */ color: oklch(47.0% 0.156 300.3);
Tailwind
colors: {
  custom: {
    50: '#9976bf',
    500: '#6a3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #6a3fa3;
$custom-light: #9976bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3fa3",
  "rgb": {
    "r": 106,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 265.8,
    "s": 44.248,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46953,
    "c": 0.15571,
    "h": 300.3
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#6A3FA3
secondary
#A3BD81
accent
#D4549D
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0912
muted
#7E7B81

Preview Lab

Preview with #6A3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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