#6B37AC#6B37AC

#6B37AC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.178 H 299.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6B37AC
RGBrgb(107, 55, 172)
HSLhsl(267, 52%, 45%)
HSVhsv(267, 68%, 67%)
CMYKcmyk(37.8%, 68%, 0%, 32.5%)
CIE-LABlab(35.67, 46.74, -54.09)
CIE-LCHlch(35.67, 71.49, 310.83°)
OKLaboklab(46.59% 0.0885 -0.1541)
OKLCHoklch(46.59% 0.178 299.9)
XYZxyz(14.8741, 8.8366, 39.9437)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37AC #78AC37
analogous
#373DAC #6B37AC #A637AC
triadic
#6B37AC #AC6B37 #37AC6B
tetradic
#6B37AC #AC373D #78AC37 #37ACA6
square
#6B37AC #AC373D #78AC37 #37ACA6
split-complementary
#6B37AC #ACA637 #3DAC37
monochromatic
#31194F #4E287E #6B37AC #8A57C9 #AA85D8

Accessibility & contrast

On white

7.59
#6B37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6B37AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37AC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37AC#FFFFFF#000000##FFFFFF
##6B37AC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#5C526D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6b37ac;
/* rgb */ color: rgb(107, 55, 172);
/* oklch */ color: oklch(46.6% 0.178 299.9);
Tailwind
colors: {
  custom: {
    50: '#9b72c6',
    500: '#6b37ac',
    950: '#000000',
  },
}
SCSS
$custom: #6b37ac;
$custom-light: #9b72c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37ac",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 266.667,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.1777,
    "h": 299.9
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#6B37AC
secondary
#A3C27D
accent
#DB4D9C
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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