#6A3699#6A3699

#6A3699 is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.9% C 0.157 H 305.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6A3699
RGBrgb(106, 54, 153)
HSLhsl(272, 48%, 41%)
HSVhsv(272, 65%, 60%)
CMYKcmyk(30.7%, 64.7%, 0%, 40%)
CIE-LABlab(33.99, 42.23, -45.37)
CIE-LCHlch(33.99, 61.98, 312.94°)
OKLaboklab(44.92% 0.0902 -0.1285)
OKLCHoklch(44.92% 0.157 305.1)
XYZxyz(13.0115, 8.0025, 30.9900)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3699 #659936
analogous
#383699 #6A3699 #993696
triadic
#6A3699 #996A36 #36996A
tetradic
#6A3699 #993836 #659936 #369699
square
#6A3699 #993836 #659936 #369699
split-complementary
#6A3699 #969936 #369938
monochromatic
#2B163F #4B266C #6A3699 #894CC0 #A77AD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A3699#FFFFFF#000000##FFFFFF
##6A36991.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)
#004E9C
Deuteranopia (green-blind)
#1D5097
Tritanopia (blue-blind)
#624B62
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a3699;
/* rgb */ color: rgb(106, 54, 153);
/* oklch */ color: oklch(44.9% 0.157 305.1);
Tailwind
colors: {
  custom: {
    50: '#9870b8',
    500: '#6a3699',
    950: '#000000',
  },
}
SCSS
$custom: #6a3699;
$custom-light: #9870b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3699",
  "rgb": {
    "r": 106,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 271.515,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.157,
    "h": 305.1
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#6A3699
secondary
#94B972
accent
#D75090
background
#F9F6FB
surface
#F2ECF6
border
#CCC7D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6A3699

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

Preview Lab → · Contrast checker → · Palette generator →

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