#6D378E#6D378E

#6D378E is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.7% C 0.144 H 310.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6D378E
RGBrgb(109, 55, 142)
HSLhsl(277, 44%, 39%)
HSVhsv(277, 61%, 56%)
CMYKcmyk(23.2%, 61.3%, 0%, 44.3%)
CIE-LABlab(33.85, 39.76, -38.85)
CIE-LCHlch(33.85, 55.59, 315.66°)
OKLaboklab(44.68% 0.0934 -0.1093)
OKLCHoklch(44.68% 0.144 310.5)
XYZxyz(12.5544, 7.9368, 26.4565)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D378E #588E37
analogous
#41378E #6D378E #8E3783
triadic
#6D378E #8E6D37 #378E6D
tetradic
#6D378E #8E4137 #588E37 #37838E
square
#6D378E #8E4137 #588E37 #37838E
split-complementary
#6D378E #838E37 #378E41
monochromatic
#291536 #4B2662 #6D378E #8F49B9 #AA76CA

Accessibility & contrast

On white

8.12
#6D378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6D378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D378E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D378E#FFFFFF#000000##FFFFFF
##6D378E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#2E518C
Tritanopia (blue-blind)
#69475D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d378e;
/* rgb */ color: rgb(109, 55, 142);
/* oklch */ color: oklch(44.7% 0.144 310.5);
Tailwind
colors: {
  custom: {
    50: '#9a71af',
    500: '#6d378e',
    950: '#000000',
  },
}
SCSS
$custom: #6d378e;
$custom-light: #9a71af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d378e",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 277.241,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44676,
    "c": 0.14374,
    "h": 310.5
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#6D378E
secondary
#88B36E
accent
#D45484
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6D378E

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

Preview Lab → · Contrast checker → · Palette generator →

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