#6A4CC2#6A4CC2

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

Color values

HEX#6A4CC2
RGBrgb(106, 76, 194)
HSLhsl(255, 49%, 53%)
HSVhsv(255, 61%, 76%)
CMYKcmyk(45.4%, 60.8%, 0%, 23.9%)
CIE-LABlab(41.42, 41.03, -57.74)
CIE-LCHlch(41.42, 70.84, 305.40°)
OKLaboklab(51.24% 0.0618 -0.1649)
OKLCHoklch(51.24% 0.176 290.5)
XYZxyz(18.2632, 12.1275, 52.4070)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CC2 #A4C24C
analogous
#4C69C2 #6A4CC2 #A54CC2
triadic
#6A4CC2 #C26A4C #4CC26A
tetradic
#6A4CC2 #C24C69 #A4C24C #4CC2A5
square
#6A4CC2 #C24C69 #A4C24C #4CC2A5
split-complementary
#6A4CC2 #C2A54C #69C24C
monochromatic
#38266E #4F359C #6A4CC2 #907AD2 #B6A7E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A4CC2#FFFFFF#000000##FFFFFF
##6A4CC21.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)
#0064C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#4F6780
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6a4cc2;
/* rgb */ color: rgb(106, 76, 194);
/* oklch */ color: oklch(51.2% 0.176 290.5);
Tailwind
colors: {
  custom: {
    50: '#9b7fd5',
    500: '#6a4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #6a4cc2;
$custom-light: #9b7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4cc2",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 255.254,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.1761,
    "h": 290.5
  },
  "luminance": 0.12128
}

Semantic roles & 50–950 ramp

primary
#6A4CC2
secondary
#C1CE9B
accent
#D94FB6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0A14
muted
#7E7C83

Preview Lab

Preview with #6A4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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