#6F4FAC#6F4FAC

#6F4FAC is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.7% C 0.144 H 296.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#6F4FAC
RGBrgb(111, 79, 172)
HSLhsl(261, 37%, 49%)
HSVhsv(261, 54%, 67%)
CMYKcmyk(35.5%, 54.1%, 0%, 32.5%)
CIE-LABlab(41.14, 34.31, -45.26)
CIE-LCHlch(41.14, 56.79, 307.16°)
OKLaboklab(50.68% 0.0648 -0.1281)
OKLCHoklch(50.68% 0.144 296.8)
XYZxyz(16.7961, 11.9498, 40.4434)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4FAC #8CAC4F
analogous
#4F5EAC #6F4FAC #9E4FAC
triadic
#6F4FAC #AC6F4F #4FAC6F
tetradic
#6F4FAC #AC4F5E #8CAC4F #4FAC9E
square
#6F4FAC #AC4F5E #8CAC4F #4FAC9E
split-complementary
#6F4FAC #AC9E4F #5EAC4F
monochromatic
#392858 #543C82 #6F4FAC #9177C1 #B3A1D4

Accessibility & contrast

On white

6.19
#6F4FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6F4FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4FAC
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4FAC#FFFFFF#000000##FFFFFF
##6F4FAC1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AF
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#616276
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f4fac;
/* rgb */ color: rgb(111, 79, 172);
/* oklch */ color: oklch(50.7% 0.144 296.8);
Tailwind
colors: {
  custom: {
    50: '#9c81c5',
    500: '#6f4fac',
    950: '#000000',
  },
}
SCSS
$custom: #6f4fac;
$custom-light: #9c81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4fac",
  "rgb": {
    "r": 111,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 260.645,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50681,
    "c": 0.14354,
    "h": 296.8
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#6F4FAC
secondary
#B2C196
accent
#CD5BA6
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6F4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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