#6A37BD#6A37BD

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

Color values

HEX#6A37BD
RGBrgb(106, 55, 189)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 74%)
CMYKcmyk(43.9%, 70.9%, 0%, 25.9%)
CIE-LABlab(36.87, 50.98, -62.20)
CIE-LCHlch(36.87, 80.42, 309.34°)
OKLaboklab(47.84% 0.0843 -0.178)
OKLCHoklch(47.84% 0.197 295.3)
XYZxyz(16.4929, 9.4703, 49.0932)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37BD #8ABD37
analogous
#3747BD #6A37BD #AD37BD
triadic
#6A37BD #BD6A37 #37BD6A
tetradic
#6A37BD #BD3747 #8ABD37 #37BDAD
square
#6A37BD #BD3747 #8ABD37 #37BDAD
split-complementary
#6A37BD #BDAD37 #47BD37
monochromatic
#351B5E #4F298E #6A37BD #8B60D1 #AE90DF

Accessibility & contrast

On white

7.26
#6A37BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6A37BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37BD
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37BD#FFFFFF#000000##FFFFFF
##6A37BD1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a37bd;
/* rgb */ color: rgb(106, 55, 189);
/* oklch */ color: oklch(47.8% 0.197 295.3);
Tailwind
colors: {
  custom: {
    50: '#9c72d2',
    500: '#6a37bd',
    950: '#000000',
  },
}
SCSS
$custom: #6a37bd;
$custom-light: #9c72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37bd",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 262.836,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.19691,
    "h": 295.3
  },
  "luminance": 0.09471
}

Semantic roles & 50–950 ramp

primary
#6A37BD
secondary
#B0C986
accent
#DE4AA6
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A37BD

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

Preview Lab → · Contrast checker → · Palette generator →

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