#6F4DAD#6F4DAD

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

Color values

HEX#6F4DAD
RGBrgb(111, 77, 173)
HSLhsl(261, 38%, 49%)
HSVhsv(261, 55%, 68%)
CMYKcmyk(35.8%, 55.5%, 0%, 32.2%)
CIE-LABlab(40.74, 35.75, -46.48)
CIE-LCHlch(40.74, 58.64, 307.57°)
OKLaboklab(50.41% 0.0675 -0.1317)
OKLCHoklch(50.41% 0.148 297.1)
XYZxyz(16.7504, 11.7042, 40.9037)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DAD #8BAD4D
analogous
#4D5BAD #6F4DAD #9F4DAD
triadic
#6F4DAD #AD6F4D #4DAD6F
tetradic
#6F4DAD #AD4D5B #8BAD4D #4DAD9F
square
#6F4DAD #AD4D5B #8BAD4D #4DAD9F
split-complementary
#6F4DAD #AD9F4D #5BAD4D
monochromatic
#392758 #543A83 #6F4DAD #9075C2 #B2A0D5

Accessibility & contrast

On white

6.29
#6F4DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6F4DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DAD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DAD#FFFFFF#000000##FFFFFF
##6F4DAD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360B0
Deuteranopia (green-blind)
#2E5FAB
Tritanopia (blue-blind)
#616175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f4dad;
/* rgb */ color: rgb(111, 77, 173);
/* oklch */ color: oklch(50.4% 0.148 297.1);
Tailwind
colors: {
  custom: {
    50: '#9c80c6',
    500: '#6f4dad',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dad;
$custom-light: #9c80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dad",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 173
  },
  "hsl": {
    "h": 261.25,
    "s": 38.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.14794,
    "h": 297.1
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#6F4DAD
secondary
#B1C294
accent
#CE59A5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6F4DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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