#6D37C2#6D37C2

#6D37C2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.6% C 0.203 H 295.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#6D37C2
RGBrgb(109, 55, 194)
HSLhsl(263, 56%, 49%)
HSVhsv(263, 72%, 76%)
CMYKcmyk(43.8%, 71.6%, 0%, 23.9%)
CIE-LABlab(37.62, 52.81, -63.90)
CIE-LCHlch(37.62, 82.90, 309.58°)
OKLaboklab(48.58% 0.0876 -0.1829)
OKLCHoklch(48.58% 0.203 295.6)
XYZxyz(17.4079, 9.8782, 52.0180)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D37C2 #8CC237
analogous
#3747C2 #6D37C2 #B337C2
triadic
#6D37C2 #C26D37 #37C26D
tetradic
#6D37C2 #C23747 #8CC237 #37C2B3
square
#6D37C2 #C23747 #8CC237 #37C2B3
split-complementary
#6D37C2 #C2B337 #47C237
monochromatic
#371C63 #522992 #6D37C2 #8F63D3 #B193E0

Accessibility & contrast

On white

7.06
#6D37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6D37C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D37C2
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D37C2#FFFFFF#000000##FFFFFF
##6D37C21.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#565A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d37c2;
/* rgb */ color: rgb(109, 55, 194);
/* oklch */ color: oklch(48.6% 0.203 295.6);
Tailwind
colors: {
  custom: {
    50: '#9e72d5',
    500: '#6d37c2',
    950: '#000000',
  },
}
SCSS
$custom: #6d37c2;
$custom-light: #9e72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d37c2",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 263.309,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48576,
    "c": 0.20274,
    "h": 295.6
  },
  "luminance": 0.09879
}

Semantic roles & 50–950 ramp

primary
#6D37C2
secondary
#B2CB89
accent
#DF49A5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6D37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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