#6A4095#6A4095

#6A4095 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.2% C 0.137 H 304.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#6A4095
RGBrgb(106, 64, 149)
HSLhsl(270, 40%, 42%)
HSVhsv(270, 57%, 58%)
CMYKcmyk(28.9%, 57%, 0%, 41.6%)
CIE-LABlab(35.79, 35.69, -40.04)
CIE-LCHlch(35.79, 53.64, 311.71°)
OKLaboklab(46.16% 0.0773 -0.1129)
OKLCHoklch(46.16% 0.137 304.4)
XYZxyz(13.2009, 8.9009, 29.4505)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4095 #6B9540
analogous
#404195 #6A4095 #954095
triadic
#6A4095 #956A40 #40956A
tetradic
#6A4095 #954041 #6B9540 #409595
square
#6A4095 #954041 #6B9540 #409595
split-complementary
#6A4095 #959540 #419540
monochromatic
#2D1B3F #4C2E6A #6A4095 #895AB8 #A785CB

Accessibility & contrast

On white

7.55
#6A4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4095
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4095#FFFFFF#000000##FFFFFF
##6A40951.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205398
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#625064
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6a4095;
/* rgb */ color: rgb(106, 64, 149);
/* oklch */ color: oklch(46.2% 0.137 304.4);
Tailwind
colors: {
  custom: {
    50: '#9776b5',
    500: '#6a4095',
    950: '#000000',
  },
}
SCSS
$custom: #6a4095;
$custom-light: #9776b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4095",
  "rgb": {
    "r": 106,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 269.647,
    "s": 39.906,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.13682,
    "h": 304.4
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#6A4095
secondary
#99B57C
accent
#D05895
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6A4095

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

Preview Lab → · Contrast checker → · Palette generator →

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