#6B4EAA#6B4EAA

#6B4EAA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.0% C 0.142 H 295.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6B4EAA
RGBrgb(107, 78, 170)
HSLhsl(259, 37%, 49%)
HSVhsv(259, 54%, 67%)
CMYKcmyk(37.1%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.37, 33.33, -45.32)
CIE-LCHlch(40.37, 56.26, 306.34°)
OKLaboklab(49.98% 0.0608 -0.1284)
OKLCHoklch(49.98% 0.142 295.3)
XYZxyz(16.0416, 11.4766, 39.3924)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EAA #8DAA4E
analogous
#4E5FAA #6B4EAA #994EAA
triadic
#6B4EAA #AA6B4E #4EAA6B
tetradic
#6B4EAA #AA4E5F #8DAA4E #4EAA99
square
#6B4EAA #AA4E5F #8DAA4E #4EAA99
split-complementary
#6B4EAA #AA994E #5FAA4E
monochromatic
#362856 #513B80 #6B4EAA #8D75C0 #B09FD3

Accessibility & contrast

On white

6.37
#6B4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6B4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EAA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EAA#FFFFFF#000000##FFFFFF
##6B4EAA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AD
Deuteranopia (green-blind)
#2F5EA8
Tritanopia (blue-blind)
#5C6174
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6b4eaa;
/* rgb */ color: rgb(107, 78, 170);
/* oklch */ color: oklch(50.0% 0.142 295.3);
Tailwind
colors: {
  custom: {
    50: '#9980c4',
    500: '#6b4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6b4eaa;
$custom-light: #9980c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4eaa",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 258.913,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49979,
    "c": 0.14202,
    "h": 295.3
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#6B4EAA
secondary
#B2C094
accent
#CD5BA9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6B4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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