#6A4AE3#6A4AE3

#6A4AE3 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.219 H 286.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#6A4AE3
RGBrgb(106, 74, 227)
HSLhsl(253, 73%, 59%)
HSVhsv(253, 67%, 89%)
CMYKcmyk(53.3%, 67.4%, 0%, 11%)
CIE-LABlab(43.52, 51.63, -73.30)
CIE-LCHlch(43.52, 89.66, 305.16°)
OKLaboklab(53.54% 0.0603 -0.2106)
OKLCHoklch(53.54% 0.219 286)
XYZxyz(22.2536, 13.5066, 74.0926)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4AE3 #C3E34A
analogous
#4A77E3 #6A4AE3 #B74AE3
triadic
#6A4AE3 #E36A4A #4AE36A
tetradic
#6A4AE3 #E34A77 #C3E34A #4AE3B7
square
#6A4AE3 #E34A77 #C3E34A #4AE3B7
split-complementary
#6A4AE3 #E3B74A #77E34A
monochromatic
#33189B #4520D0 #6A4AE3 #967FEB #C1B4F3

Accessibility & contrast

On white

5.67
#6A4AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6A4AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4AE3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4AE3#FFFFFF#000000##FFFFFF
##6A4AE31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE8
Deuteranopia (green-blind)
#0062E0
Tritanopia (blue-blind)
#377191
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a4ae3;
/* rgb */ color: rgb(106, 74, 227);
/* oklch */ color: oklch(53.5% 0.219 286.0);
Tailwind
colors: {
  custom: {
    50: '#9f7fed',
    500: '#6a4ae3',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ae3;
$custom-light: #9f7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ae3",
  "rgb": {
    "r": 106,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 252.549,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.21909,
    "h": 286
  },
  "luminance": 0.13508
}

Semantic roles & 50–950 ramp

primary
#6A4AE3
secondary
#D6E2A6
accent
#F038C9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A4AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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