#6D37CA#6D37CA

#6D37CA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.212 H 293.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#6D37CA
RGBrgb(109, 55, 202)
HSLhsl(262, 58%, 50%)
HSVhsv(262, 73%, 79%)
CMYKcmyk(46%, 72.8%, 0%, 20.8%)
CIE-LABlab(38.28, 54.90, -67.48)
CIE-LCHlch(38.28, 87.00, 309.13°)
OKLaboklab(49.25% 0.0859 -0.1934)
OKLCHoklch(49.25% 0.212 293.9)
XYZxyz(18.3306, 10.2473, 56.8778)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37CA #94CA37
analogous
#374ACA #6D37CA #B737CA
triadic
#6D37CA #CA6D37 #37CA6D
tetradic
#6D37CA #CA374A #94CA37 #37CAB7
square
#6D37CA #CA374A #94CA37 #37CAB7
split-complementary
#6D37CA #CAB737 #4ACA37
monochromatic
#391C6A #53299B #6D37CA #9067D7 #B498E4

Accessibility & contrast

On white

6.89
#6D37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6D37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D37CA
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37CA#FFFFFF#000000##FFFFFF
##6D37CA1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#525E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6d37ca;
/* rgb */ color: rgb(109, 55, 202);
/* oklch */ color: oklch(49.2% 0.212 293.9);
Tailwind
colors: {
  custom: {
    50: '#9f73db',
    500: '#6d37ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d37ca;
$custom-light: #9f73db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37ca",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 262.041,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49247,
    "c": 0.2116,
    "h": 293.9
  },
  "luminance": 0.10248
}

Semantic roles & 50–950 ramp

primary
#6D37CA
secondary
#B7CF8E
accent
#E146A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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