#6D3EB4#6D3EB4

#6D3EB4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.4% C 0.178 H 297.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#6D3EB4
RGBrgb(109, 62, 180)
HSLhsl(264, 49%, 47%)
HSVhsv(264, 66%, 71%)
CMYKcmyk(39.4%, 65.6%, 0%, 29.4%)
CIE-LABlab(37.83, 45.58, -55.33)
CIE-LCHlch(37.83, 71.69, 309.48°)
OKLaboklab(48.38% 0.0826 -0.1577)
OKLCHoklch(48.38% 0.178 297.6)
XYZxyz(16.2654, 9.9915, 44.2428)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EB4 #85B43E
analogous
#3E4AB4 #6D3EB4 #A83EB4
triadic
#6D3EB4 #B46D3E #3EB46D
tetradic
#6D3EB4 #B43E4A #85B43E #3EB4A8
square
#6D3EB4 #B43E4A #85B43E #3EB4A8
split-complementary
#6D3EB4 #B4A83E #4AB43E
monochromatic
#361F59 #512E86 #6D3EB4 #8D65CA #AF93DA

Accessibility & contrast

On white

7.00
#6D3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#6D3EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3EB4
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EB4#FFFFFF#000000##FFFFFF
##6D3EB41.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d3eb4;
/* rgb */ color: rgb(109, 62, 180);
/* oklch */ color: oklch(48.4% 0.178 297.6);
Tailwind
colors: {
  custom: {
    50: '#9c76cb',
    500: '#6d3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eb4;
$custom-light: #9c76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eb4",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 263.898,
    "s": 48.76,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48383,
    "c": 0.17804,
    "h": 297.6
  },
  "luminance": 0.09992
}

Semantic roles & 50–950 ramp

primary
#6D3EB4
secondary
#ADC589
accent
#D84FA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6D3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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