#6F4DC5#6F4DC5

#6F4DC5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.179 H 292.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#6F4DC5
RGBrgb(111, 77, 197)
HSLhsl(257, 51%, 54%)
HSVhsv(257, 61%, 77%)
CMYKcmyk(43.7%, 60.9%, 0%, 22.7%)
CIE-LABlab(42.34, 42.36, -57.98)
CIE-LCHlch(42.34, 71.80, 306.15°)
OKLaboklab(52.09% 0.0672 -0.1655)
OKLCHoklch(52.09% 0.179 292.1)
XYZxyz(19.2847, 12.7179, 54.2512)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DC5 #A3C54D
analogous
#4D67C5 #6F4DC5 #AB4DC5
triadic
#6F4DC5 #C56F4D #4DC56F
tetradic
#6F4DC5 #C54D67 #A3C54D #4DC5AB
square
#6F4DC5 #C54D67 #A3C54D #4DC5AB
split-complementary
#6F4DC5 #C5AB4D #67C54D
monochromatic
#3B2572 #5334A0 #6F4DC5 #947BD4 #BAA9E3

Accessibility & contrast

On white

5.93
#6F4DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6F4DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DC5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DC5#FFFFFF#000000##FFFFFF
##6F4DC51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#566882
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f4dc5;
/* rgb */ color: rgb(111, 77, 197);
/* oklch */ color: oklch(52.1% 0.179 292.1);
Tailwind
colors: {
  custom: {
    50: '#9e80d7',
    500: '#6f4dc5',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dc5;
$custom-light: #9e80d7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dc5",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 257,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52088,
    "c": 0.17857,
    "h": 292.1
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#6F4DC5
secondary
#C2D19D
accent
#DA4DB2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6F4DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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