#6A4ABE#6A4ABE

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

Color values

HEX#6A4ABE
RGBrgb(106, 74, 190)
HSLhsl(257, 47%, 52%)
HSVhsv(257, 61%, 75%)
CMYKcmyk(44.2%, 61.1%, 0%, 25.5%)
CIE-LABlab(40.70, 41.04, -56.57)
CIE-LCHlch(40.70, 69.89, 305.96°)
OKLaboklab(50.62% 0.0642 -0.1615)
OKLCHoklch(50.62% 0.174 291.7)
XYZxyz(17.6843, 11.6789, 50.0277)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4ABE #9EBE4A
analogous
#4A64BE #6A4ABE #A44ABE
triadic
#6A4ABE #BE6A4A #4ABE6A
tetradic
#6A4ABE #BE4A64 #9EBE4A #4ABEA4
square
#6A4ABE #BE4A64 #9EBE4A #4ABEA4
split-complementary
#6A4ABE #BEA44A #64BE4A
monochromatic
#382568 #503695 #6A4ABE #8F77CE #B4A4DE

Accessibility & contrast

On white

6.30
#6A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6A4ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4ABE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4ABE#FFFFFF#000000##FFFFFF
##6A4ABE1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a4abe;
/* rgb */ color: rgb(106, 74, 190);
/* oklch */ color: oklch(50.6% 0.174 291.7);
Tailwind
colors: {
  custom: {
    50: '#9b7ed2',
    500: '#6a4abe',
    950: '#000000',
  },
}
SCSS
$custom: #6a4abe;
$custom-light: #9b7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4abe",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 256.552,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50622,
    "c": 0.17377,
    "h": 291.7
  },
  "luminance": 0.11679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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