#6B4ABE#6B4ABE

#6B4ABE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.174 H 292.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6B4ABE
RGBrgb(107, 74, 190)
HSLhsl(257, 47%, 52%)
HSVhsv(257, 61%, 75%)
CMYKcmyk(43.7%, 61.1%, 0%, 25.5%)
CIE-LABlab(40.80, 41.25, -56.40)
CIE-LCHlch(40.80, 69.88, 306.18°)
OKLaboklab(50.72% 0.0656 -0.1609)
OKLCHoklch(50.72% 0.174 292.2)
XYZxyz(17.8039, 11.7405, 50.0333)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4ABE #9DBE4A
analogous
#4A63BE #6B4ABE #A54ABE
triadic
#6B4ABE #BE6B4A #4ABE6B
tetradic
#6B4ABE #BE4A63 #9DBE4A #4ABEA5
square
#6B4ABE #BE4A63 #9DBE4A #4ABEA5
split-complementary
#6B4ABE #BEA54A #63BE4A
monochromatic
#382568 #513695 #6B4ABE #9077CE #B5A4DE

Accessibility & contrast

On white

6.27
#6B4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6B4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4ABE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4ABE#FFFFFF#000000##FFFFFF
##6B4ABE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#53647D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b4abe;
/* rgb */ color: rgb(107, 74, 190);
/* oklch */ color: oklch(50.7% 0.174 292.2);
Tailwind
colors: {
  custom: {
    50: '#9b7ed2',
    500: '#6b4abe',
    950: '#000000',
  },
}
SCSS
$custom: #6b4abe;
$custom-light: #9b7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4abe",
  "rgb": {
    "r": 107,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 257.069,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50718,
    "c": 0.17379,
    "h": 292.2
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#6B4ABE
secondary
#BDCB98
accent
#D751B1
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6B4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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