#6D3EA5#6D3EA5

#6D3EA5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.3% C 0.160 H 301.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6D3EA5
RGBrgb(109, 62, 165)
HSLhsl(267, 45%, 45%)
HSVhsv(267, 62%, 65%)
CMYKcmyk(33.9%, 62.4%, 0%, 35.3%)
CIE-LABlab(36.77, 41.66, -48.12)
CIE-LCHlch(36.77, 63.65, 310.89°)
OKLaboklab(47.28% 0.0838 -0.1365)
OKLCHoklch(47.28% 0.16 301.5)
XYZxyz(14.8192, 9.4130, 36.6262)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EA5 #76A53E
analogous
#3E43A5 #6D3EA5 #A13EA5
triadic
#6D3EA5 #A56D3E #3EA56D
tetradic
#6D3EA5 #A53E43 #76A53E #3EA5A1
square
#6D3EA5 #A53E43 #76A53E #3EA5A1
split-complementary
#6D3EA5 #A5A13E #43A53E
monochromatic
#321D4C #502D79 #6D3EA5 #8C5EC2 #AC8AD3

Accessibility & contrast

On white

7.29
#6D3EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D3EA5
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EA5#FFFFFF#000000##FFFFFF
##6D3EA51.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d3ea5;
/* rgb */ color: rgb(109, 62, 165);
/* oklch */ color: oklch(47.3% 0.160 301.5);
Tailwind
colors: {
  custom: {
    50: '#9b76c0',
    500: '#6d3ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ea5;
$custom-light: #9b76c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ea5",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 165
  },
  "hsl": {
    "h": 267.379,
    "s": 45.374,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.16018,
    "h": 301.5
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#6D3EA5
secondary
#A2BE81
accent
#D5539A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6D3EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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