#6D3EB5#6D3EB5

#6D3EB5 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.179 H 297.4°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6D3EB5
RGBrgb(109, 62, 181)
HSLhsl(264, 49%, 48%)
HSVhsv(264, 66%, 71%)
CMYKcmyk(39.8%, 65.7%, 0%, 29%)
CIE-LABlab(37.90, 45.85, -55.80)
CIE-LCHlch(37.90, 72.22, 309.41°)
OKLaboklab(48.46% 0.0825 -0.1591)
OKLCHoklch(48.46% 0.179 297.4)
XYZxyz(16.3676, 10.0324, 44.7812)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3EB5 #86B53E
analogous
#3E4BB5 #6D3EB5 #A83EB5
triadic
#6D3EB5 #B56D3E #3EB56D
tetradic
#6D3EB5 #B53E4B #86B53E #3EB5A8
square
#6D3EB5 #B53E4B #86B53E #3EB5A8
split-complementary
#6D3EB5 #B5A83E #4BB53E
monochromatic
#361F5A #522E87 #6D3EB5 #8E66CA #AF93DA

Accessibility & contrast

On white

6.98
#6D3EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D3EB5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3EB5#FFFFFF#000000##FFFFFF
##6D3EB51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#5B5974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d3eb5;
/* rgb */ color: rgb(109, 62, 181);
/* oklch */ color: oklch(48.5% 0.179 297.4);
Tailwind
colors: {
  custom: {
    50: '#9c76cc',
    500: '#6d3eb5',
    950: '#000000',
  },
}
SCSS
$custom: #6d3eb5;
$custom-light: #9c76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3eb5",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 181
  },
  "hsl": {
    "h": 263.697,
    "s": 48.971,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48459,
    "c": 0.17922,
    "h": 297.4
  },
  "luminance": 0.10033
}

Semantic roles & 50–950 ramp

primary
#6D3EB5
secondary
#AEC589
accent
#D94FA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6D3EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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