#6D3CAB#6D3CAB

#6D3CAB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.4% C 0.170 H 300.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6D3CAB
RGBrgb(109, 60, 171)
HSLhsl(266, 48%, 45%)
HSVhsv(266, 65%, 67%)
CMYKcmyk(36.3%, 64.9%, 0%, 32.9%)
CIE-LABlab(36.79, 44.29, -51.67)
CIE-LCHlch(36.79, 68.06, 310.60°)
OKLaboklab(47.43% 0.0858 -0.1469)
OKLCHoklch(47.43% 0.17 300.3)
XYZxyz(15.2714, 9.4231, 39.5345)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3CAB #7AAB3C
analogous
#3C43AB #6D3CAB #A43CAB
triadic
#6D3CAB #AB6D3C #3CAB6D
tetradic
#6D3CAB #AB3C43 #7AAB3C #3CABA4
square
#6D3CAB #AB3C43 #7AAB3C #3CABA4
split-complementary
#6D3CAB #ABA43C #43AB3C
monochromatic
#331C50 #502C7E #6D3CAB #8C5EC6 #AC8BD6

Accessibility & contrast

On white

7.28
#6D3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D3CAB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3CAB#FFFFFF#000000##FFFFFF
##6D3CAB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#0756A9
Tritanopia (blue-blind)
#60556E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d3cab;
/* rgb */ color: rgb(109, 60, 171);
/* oklch */ color: oklch(47.4% 0.170 300.3);
Tailwind
colors: {
  custom: {
    50: '#9b75c5',
    500: '#6d3cab',
    950: '#000000',
  },
}
SCSS
$custom: #6d3cab;
$custom-light: #9b75c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3cab",
  "rgb": {
    "r": 109,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 266.486,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.17015,
    "h": 300.3
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#6D3CAB
secondary
#A5C182
accent
#D8509C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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