#6E37B7#6E37B7

#6E37B7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.191 H 298.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6E37B7
RGBrgb(110, 55, 183)
HSLhsl(266, 54%, 47%)
HSVhsv(266, 70%, 72%)
CMYKcmyk(39.9%, 69.9%, 0%, 28.2%)
CIE-LABlab(36.87, 50.16, -58.66)
CIE-LCHlch(36.87, 77.18, 310.53°)
OKLaboklab(47.79% 0.0911 -0.1674)
OKLCHoklch(47.79% 0.191 298.5)
XYZxyz(16.3417, 9.4660, 45.7567)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37B7 #80B737
analogous
#3740B7 #6E37B7 #AE37B7
triadic
#6E37B7 #B76E37 #37B76E
tetradic
#6E37B7 #B73740 #80B737 #37B7AE
square
#6E37B7 #B73740 #80B737 #37B7AE
split-complementary
#6E37B7 #B7AE37 #40B737
monochromatic
#351B59 #522988 #6E37B7 #8E5DCE #AF8CDC

Accessibility & contrast

On white

7.26
#6E37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6E37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E37B7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37B7#FFFFFF#000000##FFFFFF
##6E37B71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#5C5673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e37b7;
/* rgb */ color: rgb(110, 55, 183);
/* oklch */ color: oklch(47.8% 0.191 298.5);
Tailwind
colors: {
  custom: {
    50: '#9e72cd',
    500: '#6e37b7',
    950: '#000000',
  },
}
SCSS
$custom: #6e37b7;
$custom-light: #9e72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37b7",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 265.781,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47792,
    "c": 0.19059,
    "h": 298.5
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#6E37B7
secondary
#AAC783
accent
#DD4B9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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