#6F3AA2#6F3AA2

#6F3AA2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.7% C 0.163 H 304.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6F3AA2
RGBrgb(111, 58, 162)
HSLhsl(271, 47%, 43%)
HSVhsv(271, 64%, 64%)
CMYKcmyk(31.5%, 64.2%, 0%, 36.5%)
CIE-LABlab(36.01, 43.52, -47.52)
CIE-LCHlch(36.01, 64.44, 312.48°)
OKLaboklab(46.72% 0.0916 -0.1347)
OKLCHoklch(46.72% 0.163 304.2)
XYZxyz(14.5887, 9.0143, 35.1468)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3AA2 #6DA23A
analogous
#3B3AA2 #6F3AA2 #A23AA1
triadic
#6F3AA2 #A26F3A #3AA26F
tetradic
#6F3AA2 #A23B3A #6DA23A #3AA1A2
square
#6F3AA2 #A23B3A #6DA23A #3AA1A2
split-complementary
#6F3AA2 #A1A23A #3AA23B
monochromatic
#311A48 #502A75 #6F3AA2 #8E57C3 #AC84D3

Accessibility & contrast

On white

7.49
#6F3AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6F3AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3AA2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3AA2#FFFFFF#000000##FFFFFF
##6F3AA21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#665068
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f3aa2;
/* rgb */ color: rgb(111, 58, 162);
/* oklch */ color: oklch(46.7% 0.163 304.2);
Tailwind
colors: {
  custom: {
    50: '#9c73be',
    500: '#6f3aa2',
    950: '#000000',
  },
}
SCSS
$custom: #6f3aa2;
$custom-light: #9c73be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3aa2",
  "rgb": {
    "r": 111,
    "g": 58,
    "b": 162
  },
  "hsl": {
    "h": 270.577,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46722,
    "c": 0.16288,
    "h": 304.2
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#6F3AA2
secondary
#9BBD7B
accent
#D75193
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6F3AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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