#6D3EB3#6D3EB3

#6D3EB3 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.177 H 297.9°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6D3EB3
RGBrgb(109, 62, 179)
HSLhsl(264, 49%, 47%)
HSVhsv(264, 65%, 70%)
CMYKcmyk(39.1%, 65.4%, 0%, 29.8%)
CIE-LABlab(37.75, 45.32, -54.86)
CIE-LCHlch(37.75, 71.15, 309.56°)
OKLaboklab(48.31% 0.0827 -0.1563)
OKLCHoklch(48.31% 0.177 297.9)
XYZxyz(16.1639, 9.9509, 43.7082)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EB3 #84B33E
analogous
#3E49B3 #6D3EB3 #A83EB3
triadic
#6D3EB3 #B36D3E #3EB36D
tetradic
#6D3EB3 #B33E49 #84B33E #3EB3A8
square
#6D3EB3 #B33E49 #84B33E #3EB3A8
split-complementary
#6D3EB3 #B3A83E #49B33E
monochromatic
#361F58 #512E86 #6D3EB3 #8D65CA #AF92D9

Accessibility & contrast

On white

7.02
#6D3EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6D3EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EB3
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EB3#FFFFFF#000000##FFFFFF
##6D3EB31.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#5C5973
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d3eb3;
/* rgb */ color: rgb(109, 62, 179);
/* oklch */ color: oklch(48.3% 0.177 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c76ca',
    500: '#6d3eb3',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eb3;
$custom-light: #9c76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eb3",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 264.103,
    "s": 48.548,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48308,
    "c": 0.17685,
    "h": 297.9
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#6D3EB3
secondary
#ACC588
accent
#D850A1
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6D3EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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