#6E37B2#6E37B2

#6E37B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.185 H 299.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6E37B2
RGBrgb(110, 55, 178)
HSLhsl(267, 53%, 46%)
HSVhsv(267, 69%, 70%)
CMYKcmyk(38.2%, 69.1%, 0%, 30.2%)
CIE-LABlab(36.48, 48.88, -56.32)
CIE-LCHlch(36.48, 74.57, 310.95°)
OKLaboklab(47.4% 0.0919 -0.1606)
OKLCHoklch(47.4% 0.185 299.8)
XYZxyz(15.8305, 9.2616, 43.0645)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37B2 #7BB237
analogous
#373DB2 #6E37B2 #AB37B2
triadic
#6E37B2 #B26E37 #37B26E
tetradic
#6E37B2 #B2373D #7BB237 #37B2AB
square
#6E37B2 #B2373D #7BB237 #37B2AB
split-complementary
#6E37B2 #B2AB37 #3DB237
monochromatic
#341A54 #512983 #6E37B2 #8D5ACC #AD89DB

Accessibility & contrast

On white

7.36
#6E37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6E37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E37B2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37B2#FFFFFF#000000##FFFFFF
##6E37B21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#5F5470
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e37b2;
/* rgb */ color: rgb(110, 55, 178);
/* oklch */ color: oklch(47.4% 0.185 299.8);
Tailwind
colors: {
  custom: {
    50: '#9d72ca',
    500: '#6e37b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e37b2;
$custom-light: #9d72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37b2",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 266.829,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.18498,
    "h": 299.8
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#6E37B2
secondary
#A6C580
accent
#DC4C9C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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