#6F3CAE#6F3CAE

#6F3CAE is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.174 H 300.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6F3CAE
RGBrgb(111, 60, 174)
HSLhsl(267, 49%, 46%)
HSVhsv(267, 66%, 68%)
CMYKcmyk(36.2%, 65.5%, 0%, 31.8%)
CIE-LABlab(37.24, 45.50, -52.71)
CIE-LCHlch(37.24, 69.64, 310.80°)
OKLaboklab(47.87% 0.0883 -0.1499)
OKLCHoklch(47.87% 0.174 300.5)
XYZxyz(15.8095, 9.6671, 41.0692)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3CAE #7BAE3C
analogous
#3C42AE #6F3CAE #A83CAE
triadic
#6F3CAE #AE6F3C #3CAE6F
tetradic
#6F3CAE #AE3C42 #7BAE3C #3CAEA8
square
#6F3CAE #AE3C42 #7BAE3C #3CAEA8
split-complementary
#6F3CAE #AEA83C #42AE3C
monochromatic
#351D53 #522C80 #6F3CAE #8E5FC8 #AE8DD8

Accessibility & contrast

On white

7.16
#6F3CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6F3CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3CAE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3CAE#FFFFFF#000000##FFFFFF
##6F3CAE1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#0357AC
Tritanopia (blue-blind)
#615670
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f3cae;
/* rgb */ color: rgb(111, 60, 174);
/* oklch */ color: oklch(47.9% 0.174 300.5);
Tailwind
colors: {
  custom: {
    50: '#9d75c7',
    500: '#6f3cae',
    950: '#000000',
  },
}
SCSS
$custom: #6f3cae;
$custom-light: #9d75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3cae",
  "rgb": {
    "r": 111,
    "g": 60,
    "b": 174
  },
  "hsl": {
    "h": 266.842,
    "s": 48.718,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47874,
    "c": 0.174,
    "h": 300.5
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#6F3CAE
secondary
#A6C283
accent
#D8509B
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F3CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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