#6A507A#6A507A

#6A507A is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.5% C 0.073 H 312.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6A507A
RGBrgb(106, 80, 122)
HSLhsl(277, 21%, 40%)
HSVhsv(277, 34%, 48%)
CMYKcmyk(13.1%, 34.4%, 0%, 52.2%)
CIE-LABlab(38.21, 19.41, -19.71)
CIE-LCHlch(38.21, 27.66, 314.56°)
OKLaboklab(47.5% 0.0488 -0.0541)
OKLCHoklch(47.5% 0.073 312)
XYZxyz(12.3248, 10.2068, 19.7294)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A507A #607A50
analogous
#55507A #6A507A #7A5075
triadic
#6A507A #7A6A50 #507A6A
tetradic
#6A507A #7A5550 #607A50 #50757A
square
#6A507A #7A5550 #607A50 #50757A
split-complementary
#6A507A #757A50 #507A55
monochromatic
#2A2030 #4A3855 #6A507A #8A6A9D #A78FB5

Accessibility & contrast

On white

6.90
#6A507A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6A507A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A507A
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A507A#FFFFFF#000000##FFFFFF
##6A507A1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#69565F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a507a;
/* rgb */ color: rgb(106, 80, 122);
/* oklch */ color: oklch(47.5% 0.073 312.0);
Tailwind
colors: {
  custom: {
    50: '#9581a0',
    500: '#6a507a',
    950: '#000000',
  },
}
SCSS
$custom: #6a507a;
$custom-light: #9581a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a507a",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 122
  },
  "hsl": {
    "h": 277.143,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.07282,
    "h": 312
  },
  "luminance": 0.10207
}

Semantic roles & 50–950 ramp

primary
#6A507A
secondary
#8FA383
accent
#BD6A8A
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D0A0E
muted
#7E7C7E

Preview Lab

Preview with #6A507A

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

Preview Lab → · Contrast checker → · Palette generator →

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