#6A4FDD#6A4FDD

#6A4FDD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 53.8% C 0.206 H 285.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6A4FDD
RGBrgb(106, 79, 221)
HSLhsl(251, 68%, 59%)
HSVhsv(251, 64%, 87%)
CMYKcmyk(52%, 64.3%, 0%, 13.3%)
CIE-LABlab(44.05, 47.15, -69.01)
CIE-LCHlch(44.05, 83.58, 304.34°)
OKLaboklab(53.78% 0.0565 -0.198)
OKLCHoklch(53.78% 0.206 285.9)
XYZxyz(21.7871, 13.8755, 69.9228)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FDD #C2DD4F
analogous
#4F7BDD #6A4FDD #B14FDD
triadic
#6A4FDD #DD6A4F #4FDD6A
tetradic
#6A4FDD #DD4F7B #C2DD4F #4FDDB1
square
#6A4FDD #DD4F7B #C2DD4F #4FDDB1
split-complementary
#6A4FDD #DDB14F #7BDD4F
monochromatic
#341D95 #4527C8 #6A4FDD #9582E7 #C1B6F1

Accessibility & contrast

On white

5.56
#6A4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6A4FDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FDD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FDD#FFFFFF#000000##FFFFFF
##6A4FDD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#3C728F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a4fdd;
/* rgb */ color: rgb(106, 79, 221);
/* oklch */ color: oklch(53.8% 0.206 285.9);
Tailwind
colors: {
  custom: {
    50: '#9e82e9',
    500: '#6a4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fdd;
$custom-light: #9e82e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fdd",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 251.408,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5378,
    "c": 0.20594,
    "h": 285.9
  },
  "luminance": 0.13877
}

Semantic roles & 50–950 ramp

primary
#6A4FDD
secondary
#D5E0A8
accent
#EA3DCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6A4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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