#6E37B4#6E37B4

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

Color values

HEX#6E37B4
RGBrgb(110, 55, 180)
HSLhsl(266, 53%, 46%)
HSVhsv(266, 69%, 71%)
CMYKcmyk(38.9%, 69.4%, 0%, 29.4%)
CIE-LABlab(36.64, 49.39, -57.26)
CIE-LCHlch(36.64, 75.62, 310.78°)
OKLaboklab(47.56% 0.0915 -0.1633)
OKLCHoklch(47.56% 0.187 299.3)
XYZxyz(16.0328, 9.3425, 44.1298)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37B4 #7DB437
analogous
#373EB4 #6E37B4 #AC37B4
triadic
#6E37B4 #B46E37 #37B46E
tetradic
#6E37B4 #B4373E #7DB437 #37B4AC
square
#6E37B4 #B4373E #7DB437 #37B4AC
split-complementary
#6E37B4 #B4AC37 #3EB437
monochromatic
#351A56 #512985 #6E37B4 #8D5BCD #AE8ADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E37B4#FFFFFF#000000##FFFFFF
##6E37B41.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)
#0056B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#5E5571
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e37b4;
/* rgb */ color: rgb(110, 55, 180);
/* oklch */ color: oklch(47.6% 0.187 299.3);
Tailwind
colors: {
  custom: {
    50: '#9d72cb',
    500: '#6e37b4',
    950: '#000000',
  },
}
SCSS
$custom: #6e37b4;
$custom-light: #9d72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37b4",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 266.4,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.18722,
    "h": 299.3
  },
  "luminance": 0.09343
}

Semantic roles & 50–950 ramp

primary
#6E37B4
secondary
#A7C681
accent
#DD4B9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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