#6A4DBF#6A4DBF

#6A4DBF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.171 H 290.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6A4DBF
RGBrgb(106, 77, 191)
HSLhsl(255, 47%, 53%)
HSVhsv(255, 60%, 75%)
CMYKcmyk(44.5%, 59.7%, 0%, 25.1%)
CIE-LABlab(41.43, 39.60, -55.98)
CIE-LCHlch(41.43, 68.57, 305.28°)
OKLaboklab(51.17% 0.0608 -0.1597)
OKLCHoklch(51.17% 0.171 290.8)
XYZxyz(17.9991, 12.1329, 50.6736)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4DBF #A2BF4D
analogous
#4D69BF #6A4DBF #A34DBF
triadic
#6A4DBF #BF6A4D #4DBF6A
tetradic
#6A4DBF #BF4D69 #A2BF4D #4DBFA3
square
#6A4DBF #BF4D69 #A2BF4D #4DBFA3
split-complementary
#6A4DBF #BFA34D #69BF4D
monochromatic
#38276B #4F3798 #6A4DBF #907ACF #B5A7DF

Accessibility & contrast

On white

6.13
#6A4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6A4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4DBF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4DBF#FFFFFF#000000##FFFFFF
##6A4DBF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#51677E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4dbf;
/* rgb */ color: rgb(106, 77, 191);
/* oklch */ color: oklch(51.2% 0.171 290.8);
Tailwind
colors: {
  custom: {
    50: '#9a80d3',
    500: '#6a4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #6a4dbf;
$custom-light: #9a80d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4dbf",
  "rgb": {
    "r": 106,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 255.263,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51174,
    "c": 0.1709,
    "h": 290.8
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#6A4DBF
secondary
#C0CD9B
accent
#D751B5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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