#6A3A95#6A3A95

#6A3A95 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.2% C 0.146 H 305.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6A3A95
RGBrgb(106, 58, 149)
HSLhsl(272, 44%, 41%)
HSVhsv(272, 61%, 58%)
CMYKcmyk(28.9%, 61.1%, 0%, 41.6%)
CIE-LABlab(34.52, 39.07, -42.08)
CIE-LCHlch(34.52, 57.42, 312.87°)
OKLaboklab(45.22% 0.0853 -0.1189)
OKLCHoklch(45.22% 0.146 305.7)
XYZxyz(12.8806, 8.2603, 29.3438)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3A95 #65953A
analogous
#3C3A95 #6A3A95 #953A92
triadic
#6A3A95 #956A3A #3A956A
tetradic
#6A3A95 #953C3A #65953A #3A9295
square
#6A3A95 #953C3A #65953A #3A9295
split-complementary
#6A3A95 #92953A #3A953C
monochromatic
#2B183D #4B2969 #6A3A95 #8951BB #A77DCC

Accessibility & contrast

On white

7.92
#6A3A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A3A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3A95
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3A95#FFFFFF#000000##FFFFFF
##6A3A951.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5098
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#634C62
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a3a95;
/* rgb */ color: rgb(106, 58, 149);
/* oklch */ color: oklch(45.2% 0.146 305.7);
Tailwind
colors: {
  custom: {
    50: '#9873b5',
    500: '#6a3a95',
    950: '#000000',
  },
}
SCSS
$custom: #6a3a95;
$custom-light: #9873b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3a95",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 149
  },
  "hsl": {
    "h": 271.648,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.1463,
    "h": 305.7
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#6A3A95
secondary
#94B675
accent
#D45490
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6A3A95

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

Preview Lab → · Contrast checker → · Palette generator →

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