#6D3CA7#6D3CA7

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

Color values

HEX#6D3CA7
RGBrgb(109, 60, 167)
HSLhsl(267, 47%, 45%)
HSVhsv(267, 64%, 65%)
CMYKcmyk(34.7%, 64.1%, 0%, 34.5%)
CIE-LABlab(36.50, 43.26, -49.74)
CIE-LCHlch(36.50, 65.92, 311.02°)
OKLaboklab(47.13% 0.0861 -0.1413)
OKLCHoklch(47.13% 0.165 301.4)
XYZxyz(14.8959, 9.2729, 37.5568)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3CA7 #76A73C
analogous
#3C40A7 #6D3CA7 #A33CA7
triadic
#6D3CA7 #A76D3C #3CA76D
tetradic
#6D3CA7 #A73C40 #76A73C #3CA7A3
square
#6D3CA7 #A73C40 #76A73C #3CA7A3
split-complementary
#6D3CA7 #A7A33C #40A73C
monochromatic
#321C4D #502C7A #6D3CA7 #8C5CC4 #AC89D5

Accessibility & contrast

On white

7.36
#6D3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6D3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3CA7
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3CA7#FFFFFF#000000##FFFFFF
##6D3CA71.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#1455A5
Tritanopia (blue-blind)
#61536C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d3ca7;
/* rgb */ color: rgb(109, 60, 167);
/* oklch */ color: oklch(47.1% 0.165 301.4);
Tailwind
colors: {
  custom: {
    50: '#9b75c2',
    500: '#6d3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ca7;
$custom-light: #9b75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ca7",
  "rgb": {
    "r": 109,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 267.477,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.16543,
    "h": 301.4
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#6D3CA7
secondary
#A2BF80
accent
#D7519A
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6D3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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