#6F4DC2#6F4DC2

#6F4DC2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.9% C 0.175 H 292.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6F4DC2
RGBrgb(111, 77, 194)
HSLhsl(257, 49%, 53%)
HSVhsv(257, 60%, 76%)
CMYKcmyk(42.8%, 60.3%, 0%, 23.9%)
CIE-LABlab(42.13, 41.52, -56.57)
CIE-LCHlch(42.13, 70.18, 306.28°)
OKLaboklab(51.87% 0.0673 -0.1613)
OKLCHoklch(51.87% 0.175 292.7)
XYZxyz(18.9444, 12.5818, 52.4589)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DC2 #A0C24D
analogous
#4D65C2 #6F4DC2 #A94DC2
triadic
#6F4DC2 #C26F4D #4DC26F
tetradic
#6F4DC2 #C24D65 #A0C24D #4DC2A9
square
#6F4DC2 #C24D65 #A0C24D #4DC2A9
split-complementary
#6F4DC2 #C2A94D #65C24D
monochromatic
#3B266F #53369C #6F4DC2 #947BD2 #B9A8E1

Accessibility & contrast

On white

5.97
#6F4DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6F4DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DC2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DC2#FFFFFF#000000##FFFFFF
##6F4DC21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#586780
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6f4dc2;
/* rgb */ color: rgb(111, 77, 194);
/* oklch */ color: oklch(51.9% 0.175 292.7);
Tailwind
colors: {
  custom: {
    50: '#9e80d5',
    500: '#6f4dc2',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dc2;
$custom-light: #9e80d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dc2",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 257.436,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.1748,
    "h": 292.7
  },
  "luminance": 0.12582
}

Semantic roles & 50–950 ramp

primary
#6F4DC2
secondary
#C0CF9C
accent
#D94FB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6F4DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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