#6D3AB8#6D3AB8

#6D3AB8 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.188 H 297.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6D3AB8
RGBrgb(109, 58, 184)
HSLhsl(264, 52%, 47%)
HSVhsv(264, 68%, 72%)
CMYKcmyk(40.8%, 68.5%, 0%, 27.8%)
CIE-LABlab(37.37, 48.72, -58.44)
CIE-LCHlch(37.37, 76.08, 309.82°)
OKLaboklab(48.15% 0.0864 -0.1668)
OKLCHoklch(48.15% 0.188 297.4)
XYZxyz(16.4692, 9.7377, 46.3500)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3AB8 #85B83A
analogous
#3A46B8 #6D3AB8 #AC3AB8
triadic
#6D3AB8 #B86D3A #3AB86D
tetradic
#6D3AB8 #B83A46 #85B83A #3AB8AC
square
#6D3AB8 #B83A46 #85B83A #3AB8AC
split-complementary
#6D3AB8 #B8AC3A #46B83A
monochromatic
#361D5B #512B89 #6D3AB8 #8D62CD #AF90DC

Accessibility & contrast

On white

7.12
#6D3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6D3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3AB8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3AB8#FFFFFF#000000##FFFFFF
##6D3AB81.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#5A5874
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6d3ab8;
/* rgb */ color: rgb(109, 58, 184);
/* oklch */ color: oklch(48.1% 0.188 297.4);
Tailwind
colors: {
  custom: {
    50: '#9d74ce',
    500: '#6d3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6d3ab8;
$custom-light: #9d74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3ab8",
  "rgb": {
    "r": 109,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 264.286,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.18788,
    "h": 297.4
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#6D3AB8
secondary
#ADC787
accent
#DC4CA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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