#6D37A5#6D37A5

#6D37A5 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.3% C 0.170 H 302.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#6D37A5
RGBrgb(109, 55, 165)
HSLhsl(269, 50%, 43%)
HSVhsv(269, 67%, 65%)
CMYKcmyk(33.9%, 66.7%, 0%, 35.3%)
CIE-LABlab(35.40, 45.38, -50.32)
CIE-LCHlch(35.40, 67.76, 312.05°)
OKLaboklab(46.29% 0.0921 -0.143)
OKLCHoklch(46.29% 0.17 302.8)
XYZxyz(14.4628, 8.7002, 36.5074)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37A5 #6FA537
analogous
#3738A5 #6D37A5 #A437A5
triadic
#6D37A5 #A56D37 #37A56D
tetradic
#6D37A5 #A53738 #6FA537 #37A5A4
square
#6D37A5 #A53738 #6FA537 #37A5A4
split-complementary
#6D37A5 #A5A437 #38A537
monochromatic
#301849 #4F2877 #6D37A5 #8C53C6 #AA81D5

Accessibility & contrast

On white

7.66
#6D37A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6D37A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D37A5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37A5#FFFFFF#000000##FFFFFF
##6D37A51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0B53A3
Tritanopia (blue-blind)
#624F69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d37a5;
/* rgb */ color: rgb(109, 55, 165);
/* oklch */ color: oklch(46.3% 0.170 302.8);
Tailwind
colors: {
  custom: {
    50: '#9b71c0',
    500: '#6d37a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d37a5;
$custom-light: #9b71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37a5",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 269.455,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46292,
    "c": 0.17007,
    "h": 302.8
  },
  "luminance": 0.087
}

Semantic roles & 50–950 ramp

primary
#6D37A5
secondary
#9DBF79
accent
#DA4E95
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0812
muted
#7E7B81

Preview Lab

Preview with #6D37A5

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

Preview Lab → · Contrast checker → · Palette generator →

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