#6E37AC#6E37AC

#6E37AC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.178 H 301.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6E37AC
RGBrgb(110, 55, 172)
HSLhsl(268, 52%, 45%)
HSVhsv(268, 68%, 67%)
CMYKcmyk(36%, 68%, 0%, 32.5%)
CIE-LABlab(36.03, 47.36, -53.48)
CIE-LCHlch(36.03, 71.43, 311.53°)
OKLaboklab(46.94% 0.0927 -0.1522)
OKLCHoklch(46.94% 0.178 301.3)
XYZxyz(15.2412, 9.0259, 39.9609)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37AC #75AC37
analogous
#373BAC #6E37AC #A937AC
triadic
#6E37AC #AC6E37 #37AC6E
tetradic
#6E37AC #AC373B #75AC37 #37ACA9
square
#6E37AC #AC373B #75AC37 #37ACA9
split-complementary
#6E37AC #ACA937 #3BAC37
monochromatic
#33194F #50287E #6E37AC #8D57C9 #AC85D8

Accessibility & contrast

On white

7.49
#6E37AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6E37AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E37AC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37AC#FFFFFF#000000##FFFFFF
##6E37AC1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#61526D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e37ac;
/* rgb */ color: rgb(110, 55, 172);
/* oklch */ color: oklch(46.9% 0.178 301.3);
Tailwind
colors: {
  custom: {
    50: '#9c72c5',
    500: '#6e37ac',
    950: '#000000',
  },
}
SCSS
$custom: #6e37ac;
$custom-light: #9c72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37ac",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 268.205,
    "s": 51.542,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.17822,
    "h": 301.3
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#6E37AC
secondary
#A1C27D
accent
#DB4D98
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E37AC

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

Preview Lab → · Contrast checker → · Palette generator →

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