#6D37B2#6D37B2

#6D37B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.185 H 299.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6D37B2
RGBrgb(109, 55, 178)
HSLhsl(266, 53%, 46%)
HSVhsv(266, 69%, 70%)
CMYKcmyk(38.8%, 69.1%, 0%, 30.2%)
CIE-LABlab(36.36, 48.68, -56.52)
CIE-LCHlch(36.36, 74.60, 310.74°)
OKLaboklab(47.29% 0.0904 -0.1612)
OKLCHoklch(47.29% 0.185 299.3)
XYZxyz(15.7067, 9.1978, 43.0587)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37B2 #7CB237
analogous
#373FB2 #6D37B2 #AA37B2
triadic
#6D37B2 #B26D37 #37B26D
tetradic
#6D37B2 #B2373F #7CB237 #37B2AA
square
#6D37B2 #B2373F #7CB237 #37B2AA
split-complementary
#6D37B2 #B2AA37 #3FB237
monochromatic
#341A54 #502983 #6D37B2 #8C5ACC #AD89DB

Accessibility & contrast

On white

7.40
#6D37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6D37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D37B2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37B2#FFFFFF#000000##FFFFFF
##6D37B21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#5D5470
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d37b2;
/* rgb */ color: rgb(109, 55, 178);
/* oklch */ color: oklch(47.3% 0.185 299.3);
Tailwind
colors: {
  custom: {
    50: '#9c72ca',
    500: '#6d37b2',
    950: '#000000',
  },
}
SCSS
$custom: #6d37b2;
$custom-light: #9c72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37b2",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 266.341,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47285,
    "c": 0.18482,
    "h": 299.3
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#6D37B2
secondary
#A7C580
accent
#DC4C9D
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6D37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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