#6D3EA4#6D3EA4

#6D3EA4 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.159 H 301.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6D3EA4
RGBrgb(109, 62, 164)
HSLhsl(268, 45%, 44%)
HSVhsv(268, 62%, 64%)
CMYKcmyk(33.5%, 62.2%, 0%, 35.7%)
CIE-LABlab(36.70, 41.41, -47.62)
CIE-LCHlch(36.70, 63.11, 311.01°)
OKLaboklab(47.21% 0.0838 -0.1351)
OKLCHoklch(47.21% 0.159 301.8)
XYZxyz(14.7286, 9.3768, 36.1487)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EA4 #75A43E
analogous
#3E42A4 #6D3EA4 #A03EA4
triadic
#6D3EA4 #A46D3E #3EA46D
tetradic
#6D3EA4 #A43E42 #75A43E #3EA4A0
square
#6D3EA4 #A43E42 #75A43E #3EA4A0
split-complementary
#6D3EA4 #A4A03E #42A43E
monochromatic
#321C4B #4F2D78 #6D3EA4 #8C5DC2 #AB8AD3

Accessibility & contrast

On white

7.30
#6D3EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6D3EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EA4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EA4#FFFFFF#000000##FFFFFF
##6D3EA41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#1E56A2
Tritanopia (blue-blind)
#62546B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d3ea4;
/* rgb */ color: rgb(109, 62, 164);
/* oklch */ color: oklch(47.2% 0.159 301.8);
Tailwind
colors: {
  custom: {
    50: '#9b76c0',
    500: '#6d3ea4',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ea4;
$custom-light: #9b76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ea4",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 267.647,
    "s": 45.133,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4721,
    "c": 0.15897,
    "h": 301.8
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#6D3EA4
secondary
#A1BD81
accent
#D55399
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6D3EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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