#6A4FCD#6A4FCD

#6A4FCD is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.186 H 288.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6A4FCD
RGBrgb(106, 79, 205)
HSLhsl(253, 56%, 56%)
HSVhsv(253, 61%, 80%)
CMYKcmyk(48.3%, 61.5%, 0%, 19.6%)
CIE-LABlab(42.86, 42.48, -61.78)
CIE-LCHlch(42.86, 74.98, 304.51°)
OKLaboklab(52.54% 0.0579 -0.1768)
OKLCHoklch(52.54% 0.186 288.1)
XYZxyz(19.7561, 13.0631, 59.2262)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FCD #B2CD4F
analogous
#4F73CD #6A4FCD #A94FCD
triadic
#6A4FCD #CD6A4F #4FCD6A
tetradic
#6A4FCD #CD4F73 #B2CD4F #4FCDA9
square
#6A4FCD #CD4F73 #B2CD4F #4FCDA9
split-complementary
#6A4FCD #CDA94F #73CD4F
monochromatic
#37247E #4C31AE #6A4FCD #927FDB #BBAEE8

Accessibility & contrast

On white

5.81
#6A4FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#6A4FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FCD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FCD#FFFFFF#000000##FFFFFF
##6A4FCD1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#496D86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6a4fcd;
/* rgb */ color: rgb(106, 79, 205);
/* oklch */ color: oklch(52.5% 0.186 288.1);
Tailwind
colors: {
  custom: {
    50: '#9c81dd',
    500: '#6a4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fcd;
$custom-light: #9c81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fcd",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 252.857,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.18602,
    "h": 288.1
  },
  "luminance": 0.13064
}

Semantic roles & 50–950 ramp

primary
#6A4FCD
secondary
#CBD6A2
accent
#DF49BF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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