#6E37AB#6E37AB

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

Color values

HEX#6E37AB
RGBrgb(110, 55, 171)
HSLhsl(268, 51%, 44%)
HSVhsv(268, 68%, 67%)
CMYKcmyk(35.7%, 67.8%, 0%, 32.9%)
CIE-LABlab(35.96, 47.10, -53.00)
CIE-LCHlch(35.96, 70.91, 311.63°)
OKLaboklab(46.86% 0.0928 -0.1508)
OKLCHoklch(46.86% 0.177 301.6)
XYZxyz(15.1455, 8.9876, 39.4570)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37AB #74AB37
analogous
#373AAB #6E37AB #A837AB
triadic
#6E37AB #AB6E37 #37AB6E
tetradic
#6E37AB #AB373A #74AB37 #37ABA8
square
#6E37AB #AB373A #74AB37 #37ABA8
split-complementary
#6E37AB #ABA837 #3AAB37
monochromatic
#32194E #50287D #6E37AB #8D56C9 #AC85D8

Accessibility & contrast

On white

7.51
#6E37AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6E37AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E37AB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37AB#FFFFFF#000000##FFFFFF
##6E37AB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#61526C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e37ab;
/* rgb */ color: rgb(110, 55, 171);
/* oklch */ color: oklch(46.9% 0.177 301.6);
Tailwind
colors: {
  custom: {
    50: '#9c72c5',
    500: '#6e37ab',
    950: '#000000',
  },
}
SCSS
$custom: #6e37ab;
$custom-light: #9c72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37ab",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 268.448,
    "s": 51.327,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4686,
    "c": 0.17709,
    "h": 301.6
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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