#6A4591#6A4591

#6A4591 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 46.7% C 0.123 H 304.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6A4591
RGBrgb(106, 69, 145)
HSLhsl(269, 36%, 42%)
HSVhsv(269, 52%, 57%)
CMYKcmyk(26.9%, 52.4%, 0%, 43.1%)
CIE-LABlab(36.68, 31.75, -36.20)
CIE-LCHlch(36.68, 48.15, 311.25°)
OKLaboklab(46.73% 0.07 -0.1017)
OKLCHoklch(46.73% 0.123 304.5)
XYZxyz(13.1817, 9.3648, 27.8957)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4591 #6C9145
analogous
#454691 #6A4591 #904591
triadic
#6A4591 #916A45 #45916A
tetradic
#6A4591 #914546 #6C9145 #459190
square
#6A4591 #914546 #6C9145 #459190
split-complementary
#6A4591 #919045 #469145
monochromatic
#2D1E3E #4C3168 #6A4591 #8960B3 #A789C7

Accessibility & contrast

On white

7.31
#6A4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6A4591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4591
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4591#FFFFFF#000000##FFFFFF
##6A45911.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#38568F
Tritanopia (blue-blind)
#635364
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a4591;
/* rgb */ color: rgb(106, 69, 145);
/* oklch */ color: oklch(46.7% 0.123 304.5);
Tailwind
colors: {
  custom: {
    50: '#977ab2',
    500: '#6a4591',
    950: '#000000',
  },
}
SCSS
$custom: #6a4591;
$custom-light: #977ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4591",
  "rgb": {
    "r": 106,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 269.211,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.12347,
    "h": 304.5
  },
  "luminance": 0.09365
}

Semantic roles & 50–950 ramp

primary
#6A4591
secondary
#9AB280
accent
#CC5C95
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6A4591

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

Preview Lab → · Contrast checker → · Palette generator →

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