#6D37B8#6D37B8

#6D37B8 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.192 H 297.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6D37B8
RGBrgb(109, 55, 184)
HSLhsl(265, 54%, 47%)
HSVhsv(265, 70%, 72%)
CMYKcmyk(40.8%, 70.1%, 0%, 27.8%)
CIE-LABlab(36.83, 50.22, -59.32)
CIE-LCHlch(36.83, 77.72, 310.25°)
OKLaboklab(47.76% 0.0895 -0.1694)
OKLCHoklch(47.76% 0.192 297.8)
XYZxyz(16.3224, 9.4440, 46.3010)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37B8 #82B837
analogous
#3742B8 #6D37B8 #AE37B8
triadic
#6D37B8 #B86D37 #37B86D
tetradic
#6D37B8 #B83742 #82B837 #37B8AE
square
#6D37B8 #B83742 #82B837 #37B8AE
split-complementary
#6D37B8 #B8AE37 #42B837
monochromatic
#351B5A #512989 #6D37B8 #8D5DCF #AE8DDD

Accessibility & contrast

On white

7.27
#6D37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D37B8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37B8#FFFFFF#000000##FFFFFF
##6D37B81.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d37b8;
/* rgb */ color: rgb(109, 55, 184);
/* oklch */ color: oklch(47.8% 0.192 297.8);
Tailwind
colors: {
  custom: {
    50: '#9d72ce',
    500: '#6d37b8',
    950: '#000000',
  },
}
SCSS
$custom: #6d37b8;
$custom-light: #9d72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37b8",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 265.116,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47761,
    "c": 0.19158,
    "h": 297.8
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#6D37B8
secondary
#ABC784
accent
#DD4AA0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D37B8

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

Preview Lab → · Contrast checker → · Palette generator →

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