#6F4FA7#6F4FA7

#6F4FA7 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.4% C 0.137 H 298.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6F4FA7
RGBrgb(111, 79, 167)
HSLhsl(262, 36%, 48%)
HSVhsv(262, 53%, 65%)
CMYKcmyk(33.5%, 52.7%, 0%, 34.5%)
CIE-LABlab(40.83, 32.96, -42.77)
CIE-LCHlch(40.83, 54.00, 307.62°)
OKLaboklab(50.36% 0.0645 -0.1208)
OKLCHoklch(50.36% 0.137 298.1)
XYZxyz(16.3249, 11.7613, 37.9618)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4FA7 #87A74F
analogous
#4F5BA7 #6F4FA7 #9B4FA7
triadic
#6F4FA7 #A76F4F #4FA76F
tetradic
#6F4FA7 #A74F5B #87A74F #4FA79B
square
#6F4FA7 #A74F5B #87A74F #4FA79B
split-complementary
#6F4FA7 #A79B4F #5BA74F
monochromatic
#382854 #533B7D #6F4FA7 #9075BE #B19FD2

Accessibility & contrast

On white

6.26
#6F4FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F4FA7
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4FA7#FFFFFF#000000##FFFFFF
##6F4FA71.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60AA
Deuteranopia (green-blind)
#375FA5
Tritanopia (blue-blind)
#636073
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4fa7;
/* rgb */ color: rgb(111, 79, 167);
/* oklch */ color: oklch(50.4% 0.137 298.1);
Tailwind
colors: {
  custom: {
    50: '#9b81c2',
    500: '#6f4fa7',
    950: '#000000',
  },
}
SCSS
$custom: #6f4fa7;
$custom-light: #9b81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4fa7",
  "rgb": {
    "r": 111,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 261.818,
    "s": 35.772,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5036,
    "c": 0.13694,
    "h": 298.1
  },
  "luminance": 0.11761
}

Semantic roles & 50–950 ramp

primary
#6F4FA7
secondary
#AFBE93
accent
#CC5CA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6F4FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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