#6E37B9#6E37B9

#6E37B9 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.193 H 298.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6E37B9
RGBrgb(110, 55, 185)
HSLhsl(265, 54%, 47%)
HSVhsv(265, 70%, 73%)
CMYKcmyk(40.5%, 70.3%, 0%, 27.5%)
CIE-LABlab(37.02, 50.67, -59.58)
CIE-LCHlch(37.02, 78.21, 310.38°)
OKLaboklab(47.95% 0.0907 -0.1702)
OKLCHoklch(47.95% 0.193 298.1)
XYZxyz(16.5513, 9.5499, 46.8608)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37B9 #82B937
analogous
#3741B9 #6E37B9 #AF37B9
triadic
#6E37B9 #B96E37 #37B96E
tetradic
#6E37B9 #B93741 #82B937 #37B9AF
square
#6E37B9 #B93741 #82B937 #37B9AF
split-complementary
#6E37B9 #B9AF37 #41B937
monochromatic
#361B5B #52298A #6E37B9 #8E5ECF #AF8DDD

Accessibility & contrast

On white

7.22
#6E37B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6E37B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E37B9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37B9#FFFFFF#000000##FFFFFF
##6E37B91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#5C5774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e37b9;
/* rgb */ color: rgb(110, 55, 185);
/* oklch */ color: oklch(48.0% 0.193 298.1);
Tailwind
colors: {
  custom: {
    50: '#9e72cf',
    500: '#6e37b9',
    950: '#000000',
  },
}
SCSS
$custom: #6e37b9;
$custom-light: #9e72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37b9",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 265.385,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47952,
    "c": 0.19282,
    "h": 298.1
  },
  "luminance": 0.0955
}

Semantic roles & 50–950 ramp

primary
#6E37B9
secondary
#ABC884
accent
#DE4A9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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