#6A37BA#6A37BA

#6A37BA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.194 H 296.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6A37BA
RGBrgb(106, 55, 186)
HSLhsl(263, 54%, 47%)
HSVhsv(263, 70%, 73%)
CMYKcmyk(43%, 70.4%, 0%, 27.1%)
CIE-LABlab(36.63, 50.19, -60.83)
CIE-LCHlch(36.63, 78.86, 309.53°)
OKLaboklab(47.59% 0.0848 -0.1739)
OKLCHoklch(47.59% 0.194 296)
XYZxyz(16.1706, 9.3414, 47.3959)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37BA #87BA37
analogous
#3745BA #6A37BA #AC37BA
triadic
#6A37BA #BA6A37 #37BA6A
tetradic
#6A37BA #BA3745 #87BA37 #37BAAC
square
#6A37BA #BA3745 #87BA37 #37BAAC
split-complementary
#6A37BA #BAAC37 #45BA37
monochromatic
#341B5C #4F298B #6A37BA #8B5FD0 #AD8EDE

Accessibility & contrast

On white

7.32
#6A37BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6A37BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37BA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37BA#FFFFFF#000000##FFFFFF
##6A37BA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#555875
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a37ba;
/* rgb */ color: rgb(106, 55, 186);
/* oklch */ color: oklch(47.6% 0.194 296.0);
Tailwind
colors: {
  custom: {
    50: '#9b72d0',
    500: '#6a37ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a37ba;
$custom-light: #9b72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37ba",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 263.359,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.19352,
    "h": 296
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#6A37BA
secondary
#AEC885
accent
#DE4AA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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