#6A4FBB#6A4FBB

#6A4FBB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.163 H 291.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6A4FBB
RGBrgb(106, 79, 187)
HSLhsl(255, 44%, 52%)
HSVhsv(255, 58%, 73%)
CMYKcmyk(43.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(41.60, 37.29, -53.36)
CIE-LCHlch(41.60, 65.10, 304.94°)
OKLaboklab(51.22% 0.0585 -0.152)
OKLCHoklch(51.22% 0.163 291.1)
XYZxyz(17.7070, 12.2434, 48.4343)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4FBB #A0BB4F
analogous
#4F6ABB #6A4FBB #A04FBB
triadic
#6A4FBB #BB6A4F #4FBB6A
tetradic
#6A4FBB #BB4F6A #A0BB4F #4FBBA0
square
#6A4FBB #BB4F6A #A0BB4F #4FBBA0
split-complementary
#6A4FBB #BBA04F #6ABB4F
monochromatic
#382868 #503994 #6A4FBB #8F7BCC #B5A7DD

Accessibility & contrast

On white

6.09
#6A4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6A4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4FBB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4FBB#FFFFFF#000000##FFFFFF
##6A4FBB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0864BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#53677D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4fbb;
/* rgb */ color: rgb(106, 79, 187);
/* oklch */ color: oklch(51.2% 0.163 291.1);
Tailwind
colors: {
  custom: {
    50: '#9a81d0',
    500: '#6a4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6a4fbb;
$custom-light: #9a81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4fbb",
  "rgb": {
    "r": 106,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 255,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51215,
    "c": 0.1629,
    "h": 291.1
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#6A4FBB
secondary
#BFCA9B
accent
#D454B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6A4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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