#6A37BC#6A37BC

#6A37BC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.196 H 295.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6A37BC
RGBrgb(106, 55, 188)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 74%)
CMYKcmyk(43.6%, 70.7%, 0%, 26.3%)
CIE-LABlab(36.79, 50.71, -61.74)
CIE-LCHlch(36.79, 79.90, 309.40°)
OKLaboklab(47.76% 0.0844 -0.1766)
OKLCHoklch(47.76% 0.196 295.5)
XYZxyz(16.3847, 9.4270, 48.5235)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37BC #89BC37
analogous
#3746BC #6A37BC #AD37BC
triadic
#6A37BC #BC6A37 #37BC6A
tetradic
#6A37BC #BC3746 #89BC37 #37BCAD
square
#6A37BC #BC3746 #89BC37 #37BCAD
split-complementary
#6A37BC #BCAD37 #46BC37
monochromatic
#351B5D #4F298D #6A37BC #8B60D0 #AD8FDE

Accessibility & contrast

On white

7.28
#6A37BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A37BC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37BC#FFFFFF#000000##FFFFFF
##6A37BC1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#545876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a37bc;
/* rgb */ color: rgb(106, 55, 188);
/* oklch */ color: oklch(47.8% 0.196 295.5);
Tailwind
colors: {
  custom: {
    50: '#9c72d1',
    500: '#6a37bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a37bc;
$custom-light: #9c72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37bc",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 263.008,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47758,
    "c": 0.19579,
    "h": 295.5
  },
  "luminance": 0.09427
}

Semantic roles & 50–950 ramp

primary
#6A37BC
secondary
#AFC986
accent
#DE4AA5
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A37BC

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

Preview Lab → · Contrast checker → · Palette generator →

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