#6F3AA4#6F3AA4

#6F3AA4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.9% C 0.165 H 303.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6F3AA4
RGBrgb(111, 58, 164)
HSLhsl(270, 48%, 44%)
HSVhsv(270, 65%, 64%)
CMYKcmyk(32.3%, 64.6%, 0%, 35.7%)
CIE-LABlab(36.15, 44.02, -48.50)
CIE-LCHlch(36.15, 65.50, 312.23°)
OKLaboklab(46.87% 0.0915 -0.1375)
OKLCHoklch(46.87% 0.165 303.6)
XYZxyz(14.7679, 9.0860, 36.0905)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3AA4 #6FA43A
analogous
#3A3AA4 #6F3AA4 #A43AA4
triadic
#6F3AA4 #A46F3A #3AA46F
tetradic
#6F3AA4 #A43A3A #6FA43A #3AA4A4
square
#6F3AA4 #A43A3A #6FA43A #3AA4A4
split-complementary
#6F3AA4 #A4A43A #3AA43A
monochromatic
#321A4A #502A77 #6F3AA4 #8E57C4 #AC85D4

Accessibility & contrast

On white

7.45
#6F3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6F3AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3AA4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3AA4#FFFFFF#000000##FFFFFF
##6F3AA41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#1A55A2
Tritanopia (blue-blind)
#65516A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f3aa4;
/* rgb */ color: rgb(111, 58, 164);
/* oklch */ color: oklch(46.9% 0.165 303.6);
Tailwind
colors: {
  custom: {
    50: '#9c73c0',
    500: '#6f3aa4',
    950: '#000000',
  },
}
SCSS
$custom: #6f3aa4;
$custom-light: #9c73c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3aa4",
  "rgb": {
    "r": 111,
    "g": 58,
    "b": 164
  },
  "hsl": {
    "h": 270,
    "s": 47.748,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46865,
    "c": 0.16519,
    "h": 303.6
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#6F3AA4
secondary
#9DBE7C
accent
#D75094
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6F3AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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