#6A479B#6A479B

#6A479B is a mid, vivid violet. Relative luminance 0.099; OKLCH L 47.7% C 0.133 H 300.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#6A479B
RGBrgb(106, 71, 155)
HSLhsl(265, 37%, 44%)
HSVhsv(265, 54%, 61%)
CMYKcmyk(31.6%, 54.2%, 0%, 39.2%)
CIE-LABlab(37.73, 33.17, -40.58)
CIE-LCHlch(37.73, 52.41, 309.26°)
OKLaboklab(47.7% 0.068 -0.1145)
OKLCHoklch(47.7% 0.133 300.7)
XYZxyz(14.1121, 9.9371, 32.1786)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A479B #789B47
analogous
#474E9B #6A479B #94479B
triadic
#6A479B #9B6A47 #479B6A
tetradic
#6A479B #9B474E #789B47 #479B94
square
#6A479B #9B474E #789B47 #479B94
split-complementary
#6A479B #9B9447 #4E9B47
monochromatic
#312147 #4D3471 #6A479B #8966B9 #A990CC

Accessibility & contrast

On white

7.03
#6A479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6A479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A479B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A479B#FFFFFF#000000##FFFFFF
##6A479B1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589E
Deuteranopia (green-blind)
#325899
Tritanopia (blue-blind)
#60576A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a479b;
/* rgb */ color: rgb(106, 71, 155);
/* oklch */ color: oklch(47.7% 0.133 300.7);
Tailwind
colors: {
  custom: {
    50: '#977bb9',
    500: '#6a479b',
    950: '#000000',
  },
}
SCSS
$custom: #6a479b;
$custom-light: #977bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a479b",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 265,
    "s": 37.168,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47701,
    "c": 0.13316,
    "h": 300.7
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#6A479B
secondary
#A3B886
accent
#CD5B9D
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6A479B

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

Preview Lab → · Contrast checker → · Palette generator →

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