#6D3EA2#6D3EA2

#6D3EA2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.1% C 0.157 H 302.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6D3EA2
RGBrgb(109, 62, 162)
HSLhsl(268, 45%, 44%)
HSVhsv(268, 62%, 64%)
CMYKcmyk(32.7%, 61.7%, 0%, 36.5%)
CIE-LABlab(36.57, 40.89, -46.64)
CIE-LCHlch(36.57, 62.03, 311.24°)
OKLaboklab(47.07% 0.0839 -0.1322)
OKLCHoklch(47.07% 0.157 302.4)
XYZxyz(14.5494, 9.3051, 35.2050)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EA2 #73A23E
analogous
#3E41A2 #6D3EA2 #9F3EA2
triadic
#6D3EA2 #A26D3E #3EA26D
tetradic
#6D3EA2 #A23E41 #73A23E #3EA29F
square
#6D3EA2 #A23E41 #73A23E #3EA29F
split-complementary
#6D3EA2 #A29F3E #41A23E
monochromatic
#311C49 #4F2D76 #6D3EA2 #8C5CC1 #AB89D2

Accessibility & contrast

On white

7.34
#6D3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6D3EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EA2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EA2#FFFFFF#000000##FFFFFF
##6D3EA21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#2156A0
Tritanopia (blue-blind)
#63536A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d3ea2;
/* rgb */ color: rgb(109, 62, 162);
/* oklch */ color: oklch(47.1% 0.157 302.4);
Tailwind
colors: {
  custom: {
    50: '#9b76be',
    500: '#6d3ea2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ea2;
$custom-light: #9b76be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ea2",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 162
  },
  "hsl": {
    "h": 268.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47069,
    "c": 0.15657,
    "h": 302.4
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#6D3EA2
secondary
#A0BC80
accent
#D45398
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6D3EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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