#6A4BBF#6A4BBF

#6A4BBF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.174 H 291.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6A4BBF
RGBrgb(106, 75, 191)
HSLhsl(256, 48%, 52%)
HSVhsv(256, 61%, 75%)
CMYKcmyk(44.5%, 60.7%, 0%, 25.1%)
CIE-LABlab(40.99, 40.75, -56.69)
CIE-LCHlch(40.99, 69.82, 305.71°)
OKLaboklab(50.85% 0.063 -0.1618)
OKLCHoklch(50.85% 0.174 291.3)
XYZxyz(17.8613, 11.8573, 50.6277)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4BBF #A0BF4B
analogous
#4B66BF #6A4BBF #A44BBF
triadic
#6A4BBF #BF6A4B #4BBF6A
tetradic
#6A4BBF #BF4B66 #A0BF4B #4BBFA4
square
#6A4BBF #BF4B66 #A0BF4B #4BBFA4
split-complementary
#6A4BBF #BFA44B #66BF4B
monochromatic
#38266A #503697 #6A4BBF #8F78CF #B5A5DF

Accessibility & contrast

On white

6.23
#6A4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4BBF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4BBF#FFFFFF#000000##FFFFFF
##6A4BBF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#51657E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a4bbf;
/* rgb */ color: rgb(106, 75, 191);
/* oklch */ color: oklch(50.9% 0.174 291.3);
Tailwind
colors: {
  custom: {
    50: '#9b7fd3',
    500: '#6a4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #6a4bbf;
$custom-light: #9b7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4bbf",
  "rgb": {
    "r": 106,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 256.034,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.17366,
    "h": 291.3
  },
  "luminance": 0.11858
}

Semantic roles & 50–950 ramp

primary
#6A4BBF
secondary
#BFCC9A
accent
#D751B3
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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