#6A477B#6A477B

#6A477B is a mid, moderate purple. Relative luminance 0.090; OKLCH L 45.8% C 0.091 H 314.1°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#6A477B
RGBrgb(106, 71, 123)
HSLhsl(280, 27%, 38%)
HSVhsv(280, 42%, 48%)
CMYKcmyk(13.8%, 42.3%, 0%, 51.8%)
CIE-LABlab(35.99, 25.15, -23.78)
CIE-LCHlch(35.99, 34.61, 316.61°)
OKLaboklab(45.83% 0.0636 -0.0657)
OKLCHoklch(45.83% 0.091 314.1)
XYZxyz(11.7717, 9.0010, 19.8523)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A477B #587B47
analogous
#50477B #6A477B #7B4772
triadic
#6A477B #7B6A47 #477B6A
tetradic
#6A477B #7B5047 #587B47 #47727B
square
#6A477B #7B5047 #587B47 #47727B
split-complementary
#6A477B #727B47 #477B50
monochromatic
#271A2D #493154 #6A477B #8B5DA2 #A784B8

Accessibility & contrast

On white

7.50
#6A477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6A477B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A477B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A477B#FFFFFF#000000##FFFFFF
##6A477B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#694E5B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a477b;
/* rgb */ color: rgb(106, 71, 123);
/* oklch */ color: oklch(45.8% 0.091 314.1);
Tailwind
colors: {
  custom: {
    50: '#957ba1',
    500: '#6a477b',
    950: '#000000',
  },
}
SCSS
$custom: #6a477b;
$custom-light: #957ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a477b",
  "rgb": {
    "r": 106,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 280.385,
    "s": 26.804,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.09141,
    "h": 314.1
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#6A477B
secondary
#88A47A
accent
#C36584
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0D090F
muted
#7E7B7E

Preview Lab

Preview with #6A477B

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

Preview Lab → · Contrast checker → · Palette generator →

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