#6D37B7#6D37B7

#6D37B7 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.190 H 298.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6D37B7
RGBrgb(109, 55, 183)
HSLhsl(265, 54%, 47%)
HSVhsv(265, 70%, 72%)
CMYKcmyk(40.4%, 69.9%, 0%, 28.2%)
CIE-LABlab(36.75, 49.97, -58.86)
CIE-LCHlch(36.75, 77.20, 310.33°)
OKLaboklab(47.68% 0.0896 -0.168)
OKLCHoklch(47.68% 0.19 298.1)
XYZxyz(16.2179, 9.4022, 45.7509)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37B7 #81B737
analogous
#3741B7 #6D37B7 #AD37B7
triadic
#6D37B7 #B76D37 #37B76D
tetradic
#6D37B7 #B73741 #81B737 #37B7AD
square
#6D37B7 #B73741 #81B737 #37B7AD
split-complementary
#6D37B7 #B7AD37 #41B737
monochromatic
#351B59 #512988 #6D37B7 #8D5DCE #AE8CDC

Accessibility & contrast

On white

7.29
#6D37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6D37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D37B7
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37B7#FFFFFF#000000##FFFFFF
##6D37B71.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#5B5673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d37b7;
/* rgb */ color: rgb(109, 55, 183);
/* oklch */ color: oklch(47.7% 0.190 298.1);
Tailwind
colors: {
  custom: {
    50: '#9d72cd',
    500: '#6d37b7',
    950: '#000000',
  },
}
SCSS
$custom: #6d37b7;
$custom-light: #9d72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37b7",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 265.313,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.19045,
    "h": 298.1
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#6D37B7
secondary
#AAC783
accent
#DD4B9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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