#6D3EB6#6D3EB6

#6D3EB6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.180 H 297.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6D3EB6
RGBrgb(109, 62, 182)
HSLhsl(264, 49%, 48%)
HSVhsv(264, 66%, 71%)
CMYKcmyk(40.1%, 65.9%, 0%, 28.6%)
CIE-LABlab(37.97, 46.11, -56.27)
CIE-LCHlch(37.97, 72.75, 309.33°)
OKLaboklab(48.54% 0.0824 -0.1605)
OKLCHoklch(48.54% 0.18 297.2)
XYZxyz(16.4706, 10.0736, 45.3235)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EB6 #87B63E
analogous
#3E4BB6 #6D3EB6 #A93EB6
triadic
#6D3EB6 #B66D3E #3EB66D
tetradic
#6D3EB6 #B63E4B #87B63E #3EB6A9
square
#6D3EB6 #B63E4B #87B63E #3EB6A9
split-complementary
#6D3EB6 #B6A93E #4BB63E
monochromatic
#361F5B #522E88 #6D3EB6 #8E66CB #B094DB

Accessibility & contrast

On white

6.97
#6D3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6D3EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EB6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EB6#FFFFFF#000000##FFFFFF
##6D3EB61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#5B5A74
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d3eb6;
/* rgb */ color: rgb(109, 62, 182);
/* oklch */ color: oklch(48.5% 0.180 297.2);
Tailwind
colors: {
  custom: {
    50: '#9c76cd',
    500: '#6d3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eb6;
$custom-light: #9c76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eb6",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 263.5,
    "s": 49.18,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.1804,
    "h": 297.2
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#6D3EB6
secondary
#AEC68A
accent
#D94FA3
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6D3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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