#6D37C6#6D37C6

#6D37C6 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.207 H 294.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#6D37C6
RGBrgb(109, 55, 198)
HSLhsl(263, 57%, 50%)
HSVhsv(263, 72%, 78%)
CMYKcmyk(44.9%, 72.2%, 0%, 22.4%)
CIE-LABlab(37.95, 53.86, -65.70)
CIE-LCHlch(37.95, 84.95, 309.34°)
OKLaboklab(48.91% 0.0867 -0.1882)
OKLCHoklch(48.91% 0.207 294.7)
XYZxyz(17.8631, 10.0603, 54.4158)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37C6 #90C637
analogous
#3749C6 #6D37C6 #B537C6
triadic
#6D37C6 #C66D37 #37C66D
tetradic
#6D37C6 #C63749 #90C637 #37C6B5
square
#6D37C6 #C63749 #90C637 #37C6B5
split-complementary
#6D37C6 #C6B537 #49C637
monochromatic
#381C66 #532A96 #6D37C6 #9066D4 #B296E2

Accessibility & contrast

On white

6.97
#6D37C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6D37C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D37C6
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37C6#FFFFFF#000000##FFFFFF
##6D37C61.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#545C7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d37c6;
/* rgb */ color: rgb(109, 55, 198);
/* oklch */ color: oklch(48.9% 0.207 294.7);
Tailwind
colors: {
  custom: {
    50: '#9f73d8',
    500: '#6d37c6',
    950: '#000000',
  },
}
SCSS
$custom: #6d37c6;
$custom-light: #9f73d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37c6",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 198
  },
  "hsl": {
    "h": 262.657,
    "s": 56.522,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.20719,
    "h": 294.7
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#6D37C6
secondary
#B4CD8C
accent
#E048A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6D37C6

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

Preview Lab → · Contrast checker → · Palette generator →

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