#6D3D9B#6D3D9B

#6D3D9B is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.4% C 0.150 H 304.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6D3D9B
RGBrgb(109, 61, 155)
HSLhsl(271, 44%, 42%)
HSVhsv(271, 61%, 61%)
CMYKcmyk(29.7%, 60.6%, 0%, 39.2%)
CIE-LABlab(35.90, 39.67, -43.49)
CIE-LCHlch(35.90, 58.87, 312.37°)
OKLaboklab(46.43% 0.0854 -0.1229)
OKLCHoklch(46.43% 0.15 304.8)
XYZxyz(13.8905, 8.9553, 32.0008)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D3D9B #6B9B3D
analogous
#3E3D9B #6D3D9B #9B3D9A
triadic
#6D3D9B #9B6D3D #3D9B6D
tetradic
#6D3D9B #9B3E3D #6B9B3D #3D9A9B
square
#6D3D9B #9B3E3D #6B9B3D #3D9A9B
split-complementary
#6D3D9B #9A9B3D #3D9B3E
monochromatic
#2F1A43 #4E2C6F #6D3D9B #8C58BD #AA84CF

Accessibility & contrast

On white

7.52
#6D3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6D3D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D3D9B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D3D9B#FFFFFF#000000##FFFFFF
##6D3D9B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#285599
Tritanopia (blue-blind)
#655066
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d3d9b;
/* rgb */ color: rgb(109, 61, 155);
/* oklch */ color: oklch(46.4% 0.150 304.8);
Tailwind
colors: {
  custom: {
    50: '#9a75b9',
    500: '#6d3d9b',
    950: '#000000',
  },
}
SCSS
$custom: #6d3d9b;
$custom-light: #9a75b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d3d9b",
  "rgb": {
    "r": 109,
    "g": 61,
    "b": 155
  },
  "hsl": {
    "h": 270.638,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46435,
    "c": 0.14968,
    "h": 304.8
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#6D3D9B
secondary
#99B97B
accent
#D35593
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6D3D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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