#6F3EAE#6F3EAE

#6F3EAE is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.171 H 300.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6F3EAE
RGBrgb(111, 62, 174)
HSLhsl(266, 47%, 46%)
HSVhsv(266, 64%, 68%)
CMYKcmyk(36.2%, 64.4%, 0%, 31.8%)
CIE-LABlab(37.63, 44.44, -52.09)
CIE-LCHlch(37.63, 68.47, 310.47°)
OKLaboklab(48.16% 0.086 -0.1481)
OKLCHoklch(48.16% 0.171 300.1)
XYZxyz(15.9163, 9.8806, 41.1048)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F3EAE #7DAE3E
analogous
#3E45AE #6F3EAE #A73EAE
triadic
#6F3EAE #AE6F3E #3EAE6F
tetradic
#6F3EAE #AE3E45 #7DAE3E #3EAEA7
square
#6F3EAE #AE3E45 #7DAE3E #3EAEA7
split-complementary
#6F3EAE #AEA73E #45AE3E
monochromatic
#351E54 #522E81 #6F3EAE #8E62C7 #AF8FD7

Accessibility & contrast

On white

7.06
#6F3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6F3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F3EAE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F3EAE#FFFFFF#000000##FFFFFF
##6F3EAE1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#0B58AC
Tritanopia (blue-blind)
#615770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f3eae;
/* rgb */ color: rgb(111, 62, 174);
/* oklch */ color: oklch(48.2% 0.171 300.1);
Tailwind
colors: {
  custom: {
    50: '#9d76c7',
    500: '#6f3eae',
    950: '#000000',
  },
}
SCSS
$custom: #6f3eae;
$custom-light: #9d76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f3eae",
  "rgb": {
    "r": 111,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 266.25,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48155,
    "c": 0.17125,
    "h": 300.1
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

primary
#6F3EAE
secondary
#A8C286
accent
#D7519C
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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