#6D4ABE#6D4ABE

#6D4ABE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.174 H 293.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6D4ABE
RGBrgb(109, 74, 190)
HSLhsl(258, 47%, 52%)
HSVhsv(258, 61%, 75%)
CMYKcmyk(42.6%, 61.1%, 0%, 25.5%)
CIE-LABlab(41.00, 41.68, -56.07)
CIE-LCHlch(41.00, 69.86, 306.63°)
OKLaboklab(50.91% 0.0683 -0.1599)
OKLCHoklch(50.91% 0.174 293.1)
XYZxyz(18.0472, 11.8660, 50.0447)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4ABE #9BBE4A
analogous
#4A61BE #6D4ABE #A74ABE
triadic
#6D4ABE #BE6D4A #4ABE6D
tetradic
#6D4ABE #BE4A61 #9BBE4A #4ABEA7
square
#6D4ABE #BE4A61 #9BBE4A #4ABEA7
split-complementary
#6D4ABE #BEA74A #61BE4A
monochromatic
#3A2568 #523695 #6D4ABE #9177CE #B6A4DE

Accessibility & contrast

On white

6.23
#6D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6D4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4ABE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4ABE#FFFFFF#000000##FFFFFF
##6D4ABE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#57647D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d4abe;
/* rgb */ color: rgb(109, 74, 190);
/* oklch */ color: oklch(50.9% 0.174 293.1);
Tailwind
colors: {
  custom: {
    50: '#9c7ed2',
    500: '#6d4abe',
    950: '#000000',
  },
}
SCSS
$custom: #6d4abe;
$custom-light: #9c7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4abe",
  "rgb": {
    "r": 109,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 258.103,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50912,
    "c": 0.17385,
    "h": 293.1
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#6D4ABE
secondary
#BCCB98
accent
#D751AE
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6D4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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