#6B37BD#6B37BD

#6B37BD is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.197 H 295.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6B37BD
RGBrgb(107, 55, 189)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 74%)
CMYKcmyk(43.4%, 70.9%, 0%, 25.9%)
CIE-LABlab(36.99, 51.16, -62.01)
CIE-LCHlch(36.99, 80.39, 309.52°)
OKLaboklab(47.95% 0.0857 -0.1774)
OKLCHoklch(47.95% 0.197 295.8)
XYZxyz(16.6125, 9.5319, 49.0988)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37BD #89BD37
analogous
#3746BD #6B37BD #AE37BD
triadic
#6B37BD #BD6B37 #37BD6B
tetradic
#6B37BD #BD3746 #89BD37 #37BDAE
square
#6B37BD #BD3746 #89BD37 #37BDAE
split-complementary
#6B37BD #BDAE37 #46BD37
monochromatic
#351B5E #50298E #6B37BD #8C60D1 #AE90DF

Accessibility & contrast

On white

7.23
#6B37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6B37BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37BD
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37BD#FFFFFF#000000##FFFFFF
##6B37BD1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#555976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b37bd;
/* rgb */ color: rgb(107, 55, 189);
/* oklch */ color: oklch(47.9% 0.197 295.8);
Tailwind
colors: {
  custom: {
    50: '#9c72d2',
    500: '#6b37bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b37bd;
$custom-light: #9c72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37bd",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 263.284,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.197,
    "h": 295.8
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

primary
#6B37BD
secondary
#AFC986
accent
#DE4AA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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