#6D3E9D#6D3E9D

#6D3E9D is a mid, vivid violet. Relative luminance 0.091; OKLCH L 46.7% C 0.151 H 303.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6D3E9D
RGBrgb(109, 62, 157)
HSLhsl(270, 43%, 43%)
HSVhsv(270, 61%, 62%)
CMYKcmyk(30.6%, 60.5%, 0%, 38.4%)
CIE-LABlab(36.23, 39.62, -44.16)
CIE-LCHlch(36.23, 59.33, 311.90°)
OKLaboklab(46.72% 0.0841 -0.1249)
OKLCHoklch(46.72% 0.151 303.9)
XYZxyz(14.1137, 9.1308, 32.9106)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3E9D #6E9D3E
analogous
#3E3F9D #6D3E9D #9C3E9D
triadic
#6D3E9D #9D6D3E #3E9D6D
tetradic
#6D3E9D #9D3E3F #6E9D3E #3E9D9C
square
#6D3E9D #9D3E3F #6E9D3E #3E9D9C
split-complementary
#6D3E9D #9D9C3E #3F9D3E
monochromatic
#301B45 #4F2D71 #6D3E9D #8C5ABE #AA86CF

Accessibility & contrast

On white

7.43
#6D3E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6D3E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3E9D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3E9D#FFFFFF#000000##FFFFFF
##6D3E9D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F54A0
Deuteranopia (green-blind)
#28559B
Tritanopia (blue-blind)
#645167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d3e9d;
/* rgb */ color: rgb(109, 62, 157);
/* oklch */ color: oklch(46.7% 0.151 303.9);
Tailwind
colors: {
  custom: {
    50: '#9a76ba',
    500: '#6d3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d3e9d;
$custom-light: #9a76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3e9d",
  "rgb": {
    "r": 109,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 269.684,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46722,
    "c": 0.15055,
    "h": 303.9
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#6D3E9D
secondary
#9CBA7D
accent
#D35595
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6D3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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