#6B4EAC#6B4EAC

#6B4EAC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.145 H 294.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#6B4EAC
RGBrgb(107, 78, 172)
HSLhsl(259, 38%, 49%)
HSVhsv(259, 55%, 67%)
CMYKcmyk(37.8%, 54.7%, 0%, 32.5%)
CIE-LABlab(40.50, 33.89, -46.30)
CIE-LCHlch(40.50, 57.38, 306.20°)
OKLaboklab(50.11% 0.0608 -0.1313)
OKLCHoklch(50.11% 0.145 294.9)
XYZxyz(16.2323, 11.5528, 40.3964)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EAC #8FAC4E
analogous
#4E60AC #6B4EAC #9A4EAC
triadic
#6B4EAC #AC6B4E #4EAC6B
tetradic
#6B4EAC #AC4E60 #8FAC4E #4EAC9A
square
#6B4EAC #AC4E60 #8FAC4E #4EAC9A
split-complementary
#6B4EAC #AC9A4E #60AC4E
monochromatic
#372858 #513B82 #6B4EAC #8D76C1 #B0A0D4

Accessibility & contrast

On white

6.34
#6B4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6B4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EAC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EAC#FFFFFF#000000##FFFFFF
##6B4EAC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#2C5EAA
Tritanopia (blue-blind)
#5B6175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b4eac;
/* rgb */ color: rgb(107, 78, 172);
/* oklch */ color: oklch(50.1% 0.145 294.9);
Tailwind
colors: {
  custom: {
    50: '#9980c5',
    500: '#6b4eac',
    950: '#000000',
  },
}
SCSS
$custom: #6b4eac;
$custom-light: #9980c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4eac",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 258.511,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50112,
    "c": 0.14467,
    "h": 294.9
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#6B4EAC
secondary
#B3C195
accent
#CE5AAA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6B4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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