#6F4DAE#6F4DAE

#6F4DAE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.149 H 296.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6F4DAE
RGBrgb(111, 77, 174)
HSLhsl(261, 39%, 49%)
HSVhsv(261, 56%, 68%)
CMYKcmyk(36.2%, 55.7%, 0%, 31.8%)
CIE-LABlab(40.80, 36.02, -46.97)
CIE-LCHlch(40.80, 59.19, 307.48°)
OKLaboklab(50.48% 0.0675 -0.1331)
OKLCHoklch(50.48% 0.149 296.9)
XYZxyz(16.8475, 11.7430, 41.4152)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DAE #8CAE4D
analogous
#4D5CAE #6F4DAE #A04DAE
triadic
#6F4DAE #AE6F4D #4DAE6F
tetradic
#6F4DAE #AE4D5C #8CAE4D #4DAEA0
square
#6F4DAE #AE4D5C #8CAE4D #4DAEA0
split-complementary
#6F4DAE #AEA04D #5CAE4D
monochromatic
#392759 #543A84 #6F4DAE #9176C2 #B3A0D5

Accessibility & contrast

On white

6.27
#6F4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F4DAE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DAE#FFFFFF#000000##FFFFFF
##6F4DAE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#2D5FAC
Tritanopia (blue-blind)
#606176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4dae;
/* rgb */ color: rgb(111, 77, 174);
/* oklch */ color: oklch(50.5% 0.149 296.9);
Tailwind
colors: {
  custom: {
    50: '#9c80c7',
    500: '#6f4dae',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dae;
$custom-light: #9c80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dae",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 261.031,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.14924,
    "h": 296.9
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#6F4DAE
secondary
#B2C295
accent
#CF59A5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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