#6A3A92#6A3A92

#6A3A92 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.0% C 0.143 H 306.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6A3A92
RGBrgb(106, 58, 146)
HSLhsl(273, 43%, 40%)
HSVhsv(273, 60%, 57%)
CMYKcmyk(27.4%, 60.3%, 0%, 42.7%)
CIE-LABlab(34.33, 38.32, -40.56)
CIE-LCHlch(34.33, 55.80, 313.37°)
OKLaboklab(45.02% 0.0853 -0.1144)
OKLCHoklch(45.02% 0.143 306.7)
XYZxyz(12.6441, 8.1657, 28.0986)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3A92 #62923A
analogous
#3E3A92 #6A3A92 #923A8E
triadic
#6A3A92 #926A3A #3A926A
tetradic
#6A3A92 #923E3A #62923A #3A8E92
square
#6A3A92 #923E3A #62923A #3A8E92
split-complementary
#6A3A92 #8E923A #3A923E
monochromatic
#2A173A #4A2966 #6A3A92 #8950B9 #A77CCB

Accessibility & contrast

On white

7.98
#6A3A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6A3A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3A92
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3A92#FFFFFF#000000##FFFFFF
##6A3A921.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F95
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#644B60
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a3a92;
/* rgb */ color: rgb(106, 58, 146);
/* oklch */ color: oklch(45.0% 0.143 306.7);
Tailwind
colors: {
  custom: {
    50: '#9772b2',
    500: '#6a3a92',
    950: '#000000',
  },
}
SCSS
$custom: #6a3a92;
$custom-light: #9772b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3a92",
  "rgb": {
    "r": 106,
    "g": 58,
    "b": 146
  },
  "hsl": {
    "h": 272.727,
    "s": 43.137,
    "l": 40
  },
  "oklch": {
    "l": 0.45019,
    "c": 0.14271,
    "h": 306.7
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#6A3A92
secondary
#91B474
accent
#D3558E
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6A3A92

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

Preview Lab → · Contrast checker → · Palette generator →

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