#6F4EAA#6F4EAA

#6F4EAA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.142 H 297.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6F4EAA
RGBrgb(111, 78, 170)
HSLhsl(262, 37%, 49%)
HSVhsv(262, 54%, 67%)
CMYKcmyk(34.7%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.78, 34.35, -44.63)
CIE-LCHlch(40.78, 56.32, 307.58°)
OKLaboklab(50.38% 0.066 -0.1262)
OKLCHoklch(50.38% 0.142 297.6)
XYZxyz(16.5338, 11.7304, 39.4155)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4EAA #89AA4E
analogous
#4E5BAA #6F4EAA #9D4EAA
triadic
#6F4EAA #AA6F4E #4EAA6F
tetradic
#6F4EAA #AA4E5B #89AA4E #4EAA9D
square
#6F4EAA #AA4E5B #89AA4E #4EAA9D
split-complementary
#6F4EAA #AA9D4E #5BAA4E
monochromatic
#382856 #543B80 #6F4EAA #9075C0 #B29FD3

Accessibility & contrast

On white

6.28
#6F4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6F4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4EAA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4EAA#FFFFFF#000000##FFFFFF
##6F4EAA1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2960AD
Deuteranopia (green-blind)
#325FA8
Tritanopia (blue-blind)
#626074
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4eaa;
/* rgb */ color: rgb(111, 78, 170);
/* oklch */ color: oklch(50.4% 0.142 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c80c4',
    500: '#6f4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6f4eaa;
$custom-light: #9c80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4eaa",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 261.522,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50381,
    "c": 0.14247,
    "h": 297.6
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#6F4EAA
secondary
#B0C094
accent
#CD5BA4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6F4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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