#6D3ABA#6D3ABA

#6D3ABA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.190 H 296.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6D3ABA
RGBrgb(109, 58, 186)
HSLhsl(264, 52%, 48%)
HSVhsv(264, 69%, 73%)
CMYKcmyk(41.4%, 68.8%, 0%, 27.1%)
CIE-LABlab(37.52, 49.24, -59.37)
CIE-LCHlch(37.52, 77.13, 309.67°)
OKLaboklab(48.31% 0.0861 -0.1696)
OKLCHoklch(48.31% 0.19 296.9)
XYZxyz(16.6803, 9.8222, 47.4619)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3ABA #87BA3A
analogous
#3A47BA #6D3ABA #AD3ABA
triadic
#6D3ABA #BA6D3A #3ABA6D
tetradic
#6D3ABA #BA3A47 #87BA3A #3ABAAD
square
#6D3ABA #BA3A47 #87BA3A #3ABAAD
split-complementary
#6D3ABA #BAAD3A #47BA3A
monochromatic
#361D5D #522B8B #6D3ABA #8E63CE #B092DD

Accessibility & contrast

On white

7.08
#6D3ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6D3ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3ABA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3ABA#FFFFFF#000000##FFFFFF
##6D3ABA1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#595975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3aba;
/* rgb */ color: rgb(109, 58, 186);
/* oklch */ color: oklch(48.3% 0.190 296.9);
Tailwind
colors: {
  custom: {
    50: '#9d74d0',
    500: '#6d3aba',
    950: '#000000',
  },
}
SCSS
$custom: #6d3aba;
$custom-light: #9d74d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3aba",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 186
  },
  "hsl": {
    "h": 263.906,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48306,
    "c": 0.19017,
    "h": 296.9
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#6D3ABA
secondary
#AEC888
accent
#DC4CA3
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D3ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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