#6D378B#6D378B

#6D378B is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.5% C 0.140 H 311.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6D378B
RGBrgb(109, 55, 139)
HSLhsl(279, 43%, 38%)
HSVhsv(279, 60%, 55%)
CMYKcmyk(21.6%, 60.4%, 0%, 45.5%)
CIE-LABlab(33.66, 39.06, -37.31)
CIE-LCHlch(33.66, 54.01, 316.31°)
OKLaboklab(44.48% 0.0933 -0.1048)
OKLCHoklch(44.48% 0.14 311.7)
XYZxyz(12.3322, 7.8480, 25.2863)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D378B #558B37
analogous
#43378B #6D378B #8B377F
triadic
#6D378B #8B6D37 #378B6D
tetradic
#6D378B #8B4337 #558B37 #377F8B
square
#6D378B #8B4337 #558B37 #377F8B
split-complementary
#6D378B #7F8B37 #378B43
monochromatic
#281433 #4B265F #6D378B #8F48B7 #AA74C8

Accessibility & contrast

On white

8.17
#6D378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6D378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D378B
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D378B#FFFFFF#000000##FFFFFF
##6D378B1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#315089
Tritanopia (blue-blind)
#6A465B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d378b;
/* rgb */ color: rgb(109, 55, 139);
/* oklch */ color: oklch(44.5% 0.140 311.7);
Tailwind
colors: {
  custom: {
    50: '#9971ad',
    500: '#6d378b',
    950: '#000000',
  },
}
SCSS
$custom: #6d378b;
$custom-light: #9971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d378b",
  "rgb": {
    "r": 109,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 278.571,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.1403,
    "h": 311.7
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#6D378B
secondary
#85B16D
accent
#D35582
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6D378B

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

Preview Lab → · Contrast checker → · Palette generator →

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