#6D3EB2#6D3EB2

#6D3EB2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.176 H 298.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6D3EB2
RGBrgb(109, 62, 178)
HSLhsl(264, 48%, 47%)
HSVhsv(264, 65%, 70%)
CMYKcmyk(38.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(37.68, 45.05, -54.38)
CIE-LCHlch(37.68, 70.62, 309.64°)
OKLaboklab(48.23% 0.0828 -0.1549)
OKLCHoklch(48.23% 0.176 298.1)
XYZxyz(16.0631, 9.9106, 43.1775)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EB2 #83B23E
analogous
#3E49B2 #6D3EB2 #A73EB2
triadic
#6D3EB2 #B26D3E #3EB26D
tetradic
#6D3EB2 #B23E49 #83B23E #3EB2A7
square
#6D3EB2 #B23E49 #83B23E #3EB2A7
split-complementary
#6D3EB2 #B2A73E #49B23E
monochromatic
#351E57 #512E85 #6D3EB2 #8D64C9 #AE92D9

Accessibility & contrast

On white

7.04
#6D3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6D3EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3EB2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EB2#FFFFFF#000000##FFFFFF
##6D3EB21.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#5D5872
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d3eb2;
/* rgb */ color: rgb(109, 62, 178);
/* oklch */ color: oklch(48.2% 0.176 298.1);
Tailwind
colors: {
  custom: {
    50: '#9c76ca',
    500: '#6d3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eb2;
$custom-light: #9c76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eb2",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 264.31,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48232,
    "c": 0.17568,
    "h": 298.1
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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