#6B4EAE#6B4EAE

#6B4EAE is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.147 H 294.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6B4EAE
RGBrgb(107, 78, 174)
HSLhsl(258, 38%, 49%)
HSVhsv(258, 55%, 68%)
CMYKcmyk(38.5%, 55.2%, 0%, 31.8%)
CIE-LABlab(40.62, 34.44, -47.29)
CIE-LCHlch(40.62, 58.50, 306.07°)
OKLaboklab(50.25% 0.0609 -0.1341)
OKLCHoklch(50.25% 0.147 294.4)
XYZxyz(16.4258, 11.6302, 41.4156)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EAE #91AE4E
analogous
#4E61AE #6B4EAE #9B4EAE
triadic
#6B4EAE #AE6B4E #4EAE6B
tetradic
#6B4EAE #AE4E61 #91AE4E #4EAE9B
square
#6B4EAE #AE4E61 #91AE4E #4EAE9B
split-complementary
#6B4EAE #AE9B4E #61AE4E
monochromatic
#372859 #513B84 #6B4EAE #8E77C2 #B1A1D5

Accessibility & contrast

On white

6.31
#6B4EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6B4EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EAE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EAE#FFFFFF#000000##FFFFFF
##6B4EAE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B1
Deuteranopia (green-blind)
#2A5EAC
Tritanopia (blue-blind)
#5A6276
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b4eae;
/* rgb */ color: rgb(107, 78, 174);
/* oklch */ color: oklch(50.2% 0.147 294.4);
Tailwind
colors: {
  custom: {
    50: '#9980c7',
    500: '#6b4eae',
    950: '#000000',
  },
}
SCSS
$custom: #6b4eae;
$custom-light: #9980c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4eae",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 258.125,
    "s": 38.095,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.14733,
    "h": 294.4
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#6B4EAE
secondary
#B5C296
accent
#CE5AAB
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6B4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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