#6E37B8#6E37B8

#6E37B8 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.192 H 298.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6E37B8
RGBrgb(110, 55, 184)
HSLhsl(266, 54%, 47%)
HSVhsv(266, 70%, 72%)
CMYKcmyk(40.2%, 70.1%, 0%, 27.8%)
CIE-LABlab(36.94, 50.41, -59.12)
CIE-LCHlch(36.94, 77.70, 310.45°)
OKLaboklab(47.87% 0.0909 -0.1688)
OKLCHoklch(47.87% 0.192 298.3)
XYZxyz(16.4461, 9.5078, 46.3068)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37B8 #81B837
analogous
#3741B8 #6E37B8 #AF37B8
triadic
#6E37B8 #B86E37 #37B86E
tetradic
#6E37B8 #B83741 #81B837 #37B8AF
square
#6E37B8 #B83741 #81B837 #37B8AF
split-complementary
#6E37B8 #B8AF37 #41B837
monochromatic
#361B5A #522989 #6E37B8 #8E5DCF #AF8DDD

Accessibility & contrast

On white

7.24
#6E37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6E37B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E37B8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37B8#FFFFFF#000000##FFFFFF
##6E37B81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#5C5673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e37b8;
/* rgb */ color: rgb(110, 55, 184);
/* oklch */ color: oklch(47.9% 0.192 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e72ce',
    500: '#6e37b8',
    950: '#000000',
  },
}
SCSS
$custom: #6e37b8;
$custom-light: #9e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37b8",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 265.581,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.1917,
    "h": 298.3
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#6E37B8
secondary
#AAC784
accent
#DD4A9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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