#6A4FBF#6A4FBF

#6A4FBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.168 H 290.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6A4FBF
RGBrgb(106, 79, 191)
HSLhsl(254, 47%, 53%)
HSVhsv(254, 59%, 75%)
CMYKcmyk(44.5%, 58.6%, 0%, 25.1%)
CIE-LABlab(41.87, 38.43, -55.26)
CIE-LCHlch(41.87, 67.31, 304.82°)
OKLaboklab(51.5% 0.0585 -0.1576)
OKLCHoklch(51.5% 0.168 290.4)
XYZxyz(18.1412, 12.4171, 50.7210)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FBF #A4BF4F
analogous
#4F6CBF #6A4FBF #A24FBF
triadic
#6A4FBF #BF6A4F #4FBF6A
tetradic
#6A4FBF #BF4F6C #A4BF4F #4FBFA2
square
#6A4FBF #BF4F6C #A4BF4F #4FBFA2
split-complementary
#6A4FBF #BFA24F #6CBF4F
monochromatic
#38276C #4F3899 #6A4FBF #907CCF #B6A9E0

Accessibility & contrast

On white

6.03
#6A4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6A4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FBF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FBF#FFFFFF#000000##FFFFFF
##6A4FBF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0560BD
Tritanopia (blue-blind)
#51687F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a4fbf;
/* rgb */ color: rgb(106, 79, 191);
/* oklch */ color: oklch(51.5% 0.168 290.4);
Tailwind
colors: {
  custom: {
    50: '#9a81d3',
    500: '#6a4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fbf;
$custom-light: #9a81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fbf",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 254.464,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51501,
    "c": 0.16811,
    "h": 290.4
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#6A4FBF
secondary
#C1CD9D
accent
#D651B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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