#6A4CBC#6A4CBC

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

Color values

HEX#6A4CBC
RGBrgb(106, 76, 188)
HSLhsl(256, 46%, 52%)
HSVhsv(256, 60%, 74%)
CMYKcmyk(43.6%, 59.6%, 0%, 26.3%)
CIE-LABlab(41.00, 39.32, -54.92)
CIE-LCHlch(41.00, 67.55, 305.60°)
OKLaboklab(50.79% 0.062 -0.1566)
OKLCHoklch(50.79% 0.168 291.6)
XYZxyz(17.6029, 11.8633, 48.9296)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CBC #9EBC4C
analogous
#4C66BC #6A4CBC #A24CBC
triadic
#6A4CBC #BC6A4C #4CBC6A
tetradic
#6A4CBC #BC4C66 #9EBC4C #4CBCA2
square
#6A4CBC #BC4C66 #9EBC4C #4CBCA2
split-complementary
#6A4CBC #BCA24C #66BC4C
monochromatic
#382767 #503794 #6A4CBC #8F79CD #B4A5DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A4CBC#FFFFFF#000000##FFFFFF
##6A4CBC1.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)
#0062C0
Deuteranopia (green-blind)
#025EBA
Tritanopia (blue-blind)
#53657D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a4cbc;
/* rgb */ color: rgb(106, 76, 188);
/* oklch */ color: oklch(50.8% 0.168 291.6);
Tailwind
colors: {
  custom: {
    50: '#9a7fd1',
    500: '#6a4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cbc;
$custom-light: #9a7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cbc",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 256.071,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.16844,
    "h": 291.6
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#6A4CBC
secondary
#BDCA99
accent
#D553B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6A4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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