#6D37AB#6D37AB

#6D37AB is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.177 H 301.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6D37AB
RGBrgb(109, 55, 171)
HSLhsl(268, 51%, 44%)
HSVhsv(268, 68%, 67%)
CMYKcmyk(36.3%, 67.8%, 0%, 32.9%)
CIE-LABlab(35.84, 46.90, -53.21)
CIE-LCHlch(35.84, 70.92, 311.39°)
OKLaboklab(46.74% 0.0914 -0.1514)
OKLCHoklch(46.74% 0.177 301.1)
XYZxyz(15.0218, 8.9238, 39.4512)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37AB #75AB37
analogous
#373BAB #6D37AB #A737AB
triadic
#6D37AB #AB6D37 #37AB6D
tetradic
#6D37AB #AB373B #75AB37 #37ABA7
square
#6D37AB #AB373B #75AB37 #37ABA7
split-complementary
#6D37AB #ABA737 #3BAB37
monochromatic
#32194E #4F287D #6D37AB #8C56C9 #AB85D8

Accessibility & contrast

On white

7.54
#6D37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6D37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D37AB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37AB#FFFFFF#000000##FFFFFF
##6D37AB1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#60526C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d37ab;
/* rgb */ color: rgb(109, 55, 171);
/* oklch */ color: oklch(46.7% 0.177 301.1);
Tailwind
colors: {
  custom: {
    50: '#9c72c5',
    500: '#6d37ab',
    950: '#000000',
  },
}
SCSS
$custom: #6d37ab;
$custom-light: #9c72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37ab",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 267.931,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46744,
    "c": 0.1769,
    "h": 301.1
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#6D37AB
secondary
#A1C17C
accent
#DB4D99
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6D37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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