#6A37BB#6A37BB

#6A37BB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.195 H 295.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6A37BB
RGBrgb(106, 55, 187)
HSLhsl(263, 55%, 47%)
HSVhsv(263, 71%, 73%)
CMYKcmyk(43.3%, 70.6%, 0%, 26.7%)
CIE-LABlab(36.71, 50.45, -61.29)
CIE-LCHlch(36.71, 79.38, 309.46°)
OKLaboklab(47.68% 0.0846 -0.1753)
OKLCHoklch(47.68% 0.195 295.8)
XYZxyz(16.2773, 9.3840, 47.9578)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37BB #88BB37
analogous
#3746BB #6A37BB #AC37BB
triadic
#6A37BB #BB6A37 #37BB6A
tetradic
#6A37BB #BB3746 #88BB37 #37BBAC
square
#6A37BB #BB3746 #88BB37 #37BBAC
split-complementary
#6A37BB #BBAC37 #46BB37
monochromatic
#341B5C #4F298C #6A37BB #8B5FD0 #AD8EDE

Accessibility & contrast

On white

7.30
#6A37BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6A37BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37BB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37BB#FFFFFF#000000##FFFFFF
##6A37BB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#545875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a37bb;
/* rgb */ color: rgb(106, 55, 187);
/* oklch */ color: oklch(47.7% 0.195 295.8);
Tailwind
colors: {
  custom: {
    50: '#9b72d0',
    500: '#6a37bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a37bb;
$custom-light: #9b72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37bb",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 187
  },
  "hsl": {
    "h": 263.182,
    "s": 54.545,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47676,
    "c": 0.19466,
    "h": 295.8
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#6A37BB
secondary
#AFC985
accent
#DE4AA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A37BB

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

Preview Lab → · Contrast checker → · Palette generator →

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