#6A5097#6A5097

#6A5097 is a mid, moderate violet. Relative luminance 0.110; OKLCH L 49.1% C 0.113 H 299.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6A5097
RGBrgb(106, 80, 151)
HSLhsl(262, 31%, 45%)
HSVhsv(262, 47%, 59%)
CMYKcmyk(29.8%, 47%, 0%, 40.8%)
CIE-LABlab(39.64, 26.70, -35.13)
CIE-LCHlch(39.64, 44.13, 307.23°)
OKLaboklab(49.05% 0.0549 -0.0986)
OKLCHoklch(49.05% 0.113 299.1)
XYZxyz(14.3971, 11.0358, 30.6438)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A5097 #7D9750
analogous
#505997 #6A5097 #8D5097
triadic
#6A5097 #976A50 #50976A
tetradic
#6A5097 #975059 #7D9750 #50978D
square
#6A5097 #975059 #7D9750 #50978D
split-complementary
#6A5097 #978D50 #599750
monochromatic
#322647 #4E3B6F #6A5097 #8971B4 #AA99C9

Accessibility & contrast

On white

6.55
#6A5097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6A5097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A5097
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A5097#FFFFFF#000000##FFFFFF
##6A50971.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#615D6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a5097;
/* rgb */ color: rgb(106, 80, 151);
/* oklch */ color: oklch(49.1% 0.113 299.1);
Tailwind
colors: {
  custom: {
    50: '#9781b6',
    500: '#6a5097',
    950: '#000000',
  },
}
SCSS
$custom: #6a5097;
$custom-light: #9781b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a5097",
  "rgb": {
    "r": 106,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 261.972,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.11284,
    "h": 299.1
  },
  "luminance": 0.11036
}

Semantic roles & 50–950 ramp

primary
#6A5097
secondary
#A7B68D
accent
#C761A2
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6A5097

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

Preview Lab → · Contrast checker → · Palette generator →

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