#6F3AAA#6F3AAA

#6F3AAA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.3% C 0.172 H 301.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6F3AAA
RGBrgb(111, 58, 170)
HSLhsl(268, 49%, 45%)
HSVhsv(268, 66%, 67%)
CMYKcmyk(34.7%, 65.9%, 0%, 33.3%)
CIE-LABlab(36.57, 45.53, -51.41)
CIE-LCHlch(36.57, 68.67, 311.53°)
OKLaboklab(47.3% 0.091 -0.1461)
OKLCHoklch(47.3% 0.172 301.9)
XYZxyz(15.3226, 9.3079, 39.0118)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3AAA #75AA3A
analogous
#3A3DAA #6F3AAA #A73AAA
triadic
#6F3AAA #AA6F3A #3AAA6F
tetradic
#6F3AAA #AA3A3D #75AA3A #3AAAA7
square
#6F3AAA #AA3A3D #75AA3A #3AAAA7
split-complementary
#6F3AAA #AAA73A #3DAA3A
monochromatic
#331B4F #512A7C #6F3AAA #8E5AC7 #AD88D6

Accessibility & contrast

On white

7.34
#6F3AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6F3AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3AAA
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3AAA#FFFFFF#000000##FFFFFF
##6F3AAA1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0A56A8
Tritanopia (blue-blind)
#63536D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f3aaa;
/* rgb */ color: rgb(111, 58, 170);
/* oklch */ color: oklch(47.3% 0.172 301.9);
Tailwind
colors: {
  custom: {
    50: '#9d74c4',
    500: '#6f3aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6f3aaa;
$custom-light: #9d74c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3aaa",
  "rgb": {
    "r": 111,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 268.393,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.1721,
    "h": 301.9
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#6F3AAA
secondary
#A2C17F
accent
#D94F98
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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