#6A349E#6A349E

#6A349E is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.166 H 303.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6A349E
RGBrgb(106, 52, 158)
HSLhsl(271, 50%, 41%)
HSVhsv(271, 67%, 62%)
CMYKcmyk(32.9%, 67.1%, 0%, 38%)
CIE-LABlab(33.96, 44.51, -48.45)
CIE-LCHlch(33.96, 65.79, 312.57°)
OKLaboklab(45.01% 0.0921 -0.1375)
OKLCHoklch(45.01% 0.166 303.8)
XYZxyz(13.3420, 7.9888, 33.1802)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A349E #689E34
analogous
#35349E #6A349E #9E349D
triadic
#6A349E #9E6A34 #349E6A
tetradic
#6A349E #9E3534 #689E34 #349D9E
square
#6A349E #9E3534 #689E34 #349D9E
split-complementary
#6A349E #9D9E34 #349E35
monochromatic
#2C1642 #4B2570 #6A349E #894BC4 #A779D3

Accessibility & contrast

On white

8.08
#6A349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6A349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A349E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A349E#FFFFFF#000000##FFFFFF
##6A349E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#604B64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a349e;
/* rgb */ color: rgb(106, 52, 158);
/* oklch */ color: oklch(45.0% 0.166 303.8);
Tailwind
colors: {
  custom: {
    50: '#996fbb',
    500: '#6a349e',
    950: '#000000',
  },
}
SCSS
$custom: #6a349e;
$custom-light: #996fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a349e",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 270.566,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.16555,
    "h": 303.8
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#6A349E
secondary
#96BC72
accent
#DA4E93
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A349E

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

Preview Lab → · Contrast checker → · Palette generator →

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