#6A37B4#6A37B4

#6A37B4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.187 H 297.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6A37B4
RGBrgb(106, 55, 180)
HSLhsl(264, 53%, 46%)
HSVhsv(264, 69%, 71%)
CMYKcmyk(41.1%, 69.4%, 0%, 29.4%)
CIE-LABlab(36.16, 48.61, -58.05)
CIE-LCHlch(36.16, 75.72, 309.94°)
OKLaboklab(47.11% 0.0859 -0.1658)
OKLCHoklch(47.11% 0.187 297.4)
XYZxyz(15.5461, 9.0916, 44.1069)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37B4 #81B437
analogous
#3742B4 #6A37B4 #A837B4
triadic
#6A37B4 #B46A37 #37B46A
tetradic
#6A37B4 #B43742 #81B437 #37B4A8
square
#6A37B4 #B43742 #81B437 #37B4A8
split-complementary
#6A37B4 #B4A837 #42B437
monochromatic
#331A56 #4E2985 #6A37B4 #8A5BCD #AB8ADB

Accessibility & contrast

On white

7.45
#6A37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6A37B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37B4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37B4#FFFFFF#000000##FFFFFF
##6A37B41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#575571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a37b4;
/* rgb */ color: rgb(106, 55, 180);
/* oklch */ color: oklch(47.1% 0.187 297.4);
Tailwind
colors: {
  custom: {
    50: '#9b72cb',
    500: '#6a37b4',
    950: '#000000',
  },
}
SCSS
$custom: #6a37b4;
$custom-light: #9b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37b4",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 264.48,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47109,
    "c": 0.18671,
    "h": 297.4
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#6A37B4
secondary
#AAC681
accent
#DD4BA1
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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