#6D3DC5#6D3DC5

#6D3DC5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.6% C 0.199 H 294.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6D3DC5
RGBrgb(109, 61, 197)
HSLhsl(261, 54%, 51%)
HSVhsv(261, 69%, 77%)
CMYKcmyk(44.7%, 69%, 0%, 22.7%)
CIE-LABlab(38.93, 50.63, -63.51)
CIE-LCHlch(38.93, 81.22, 308.56°)
OKLaboklab(49.58% 0.0813 -0.1818)
OKLCHoklch(49.58% 0.199 294.1)
XYZxyz(18.0507, 10.6194, 53.9112)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3DC5 #95C53D
analogous
#3D51C5 #6D3DC5 #B13DC5
triadic
#6D3DC5 #C56D3D #3DC56D
tetradic
#6D3DC5 #C53D51 #95C53D #3DC5B1
square
#6D3DC5 #C53D51 #95C53D #3DC5B1
split-complementary
#6D3DC5 #C5B13D #51C53D
monochromatic
#391F68 #532D98 #6D3DC5 #906CD3 #B49BE1

Accessibility & contrast

On white

6.72
#6D3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6D3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D3DC5
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3DC5#FFFFFF#000000##FFFFFF
##6D3DC51.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#545F7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d3dc5;
/* rgb */ color: rgb(109, 61, 197);
/* oklch */ color: oklch(49.6% 0.199 294.1);
Tailwind
colors: {
  custom: {
    50: '#9e76d8',
    500: '#6d3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #6d3dc5;
$custom-light: #9e76d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3dc5",
  "rgb": {
    "r": 109,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 261.176,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49582,
    "c": 0.19911,
    "h": 294.1
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#6D3DC5
secondary
#B8CD91
accent
#DD4AAA
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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