#6D3EBA#6D3EBA

#6D3EBA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.185 H 296.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6D3EBA
RGBrgb(109, 62, 186)
HSLhsl(263, 50%, 49%)
HSVhsv(263, 67%, 73%)
CMYKcmyk(41.4%, 66.7%, 0%, 27.1%)
CIE-LABlab(38.27, 47.17, -58.15)
CIE-LCHlch(38.27, 74.87, 309.05°)
OKLaboklab(48.84% 0.0819 -0.166)
OKLCHoklch(48.84% 0.185 296.3)
XYZxyz(16.8899, 10.2413, 47.5317)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EBA #8BBA3E
analogous
#3E4DBA #6D3EBA #AB3EBA
triadic
#6D3EBA #BA6D3E #3EBA6D
tetradic
#6D3EBA #BA3E4D #8BBA3E #3EBAAB
square
#6D3EBA #BA3E4D #8BBA3E #3EBAAB
split-complementary
#6D3EBA #BAAB3E #4DBA3E
monochromatic
#371F5E #522F8C #6D3EBA #8E68CD #B196DC

Accessibility & contrast

On white

6.89
#6D3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6D3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EBA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EBA#FFFFFF#000000##FFFFFF
##6D3EBA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#595B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d3eba;
/* rgb */ color: rgb(109, 62, 186);
/* oklch */ color: oklch(48.8% 0.185 296.3);
Tailwind
colors: {
  custom: {
    50: '#9d76d0',
    500: '#6d3eba',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eba;
$custom-light: #9d76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eba",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 262.742,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.1851,
    "h": 296.3
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#6D3EBA
secondary
#B1C88C
accent
#DA4EA5
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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