#6A4FBE#6A4FBE

#6A4FBE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.167 H 290.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6A4FBE
RGBrgb(106, 79, 190)
HSLhsl(255, 46%, 53%)
HSVhsv(255, 58%, 75%)
CMYKcmyk(44.2%, 58.4%, 0%, 25.5%)
CIE-LABlab(41.80, 38.15, -54.79)
CIE-LCHlch(41.80, 66.76, 304.85°)
OKLaboklab(51.43% 0.0585 -0.1562)
OKLCHoklch(51.43% 0.167 290.5)
XYZxyz(18.0315, 12.3732, 50.1434)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FBE #A3BE4F
analogous
#4F6BBE #6A4FBE #A24FBE
triadic
#6A4FBE #BE6A4F #4FBE6A
tetradic
#6A4FBE #BE4F6B #A3BE4F #4FBEA2
square
#6A4FBE #BE4F6B #A3BE4F #4FBEA2
split-complementary
#6A4FBE #BEA24F #6BBE4F
monochromatic
#38286B #4F3898 #6A4FBE #907CCF #B6A8DF

Accessibility & contrast

On white

6.04
#6A4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6A4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FBE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FBE#FFFFFF#000000##FFFFFF
##6A4FBE1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#0960BC
Tritanopia (blue-blind)
#51687F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a4fbe;
/* rgb */ color: rgb(106, 79, 190);
/* oklch */ color: oklch(51.4% 0.167 290.5);
Tailwind
colors: {
  custom: {
    50: '#9a81d2',
    500: '#6a4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fbe;
$custom-light: #9a81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fbe",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 254.595,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.16681,
    "h": 290.5
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#6A4FBE
secondary
#C1CC9C
accent
#D652B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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