#6D388E#6D388E

#6D388E is a dark, vivid violet. Relative luminance 0.080; OKLCH L 44.8% C 0.142 H 310.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6D388E
RGBrgb(109, 56, 142)
HSLhsl(277, 43%, 39%)
HSVhsv(277, 61%, 56%)
CMYKcmyk(23.2%, 60.6%, 0%, 44.3%)
CIE-LABlab(34.05, 39.22, -38.53)
CIE-LCHlch(34.05, 54.98, 315.51°)
OKLaboklab(44.82% 0.092 -0.1084)
OKLCHoklch(44.82% 0.142 310.3)
XYZxyz(12.6024, 8.0328, 26.4725)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D388E #598E38
analogous
#42388E #6D388E #8E3884
triadic
#6D388E #8E6D38 #388E6D
tetradic
#6D388E #8E4238 #598E38 #38848E
square
#6D388E #8E4238 #598E38 #38848E
split-complementary
#6D388E #848E38 #388E42
monochromatic
#2A1536 #4B2762 #6D388E #8E4BB8 #AA77C9

Accessibility & contrast

On white

8.06
#6D388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6D388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D388E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D388E#FFFFFF#000000##FFFFFF
##6D388E1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#2F518C
Tritanopia (blue-blind)
#69485D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d388e;
/* rgb */ color: rgb(109, 56, 142);
/* oklch */ color: oklch(44.8% 0.142 310.3);
Tailwind
colors: {
  custom: {
    50: '#9971af',
    500: '#6d388e',
    950: '#000000',
  },
}
SCSS
$custom: #6d388e;
$custom-light: #9971af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d388e",
  "rgb": {
    "r": 109,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 276.977,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.44822,
    "c": 0.14216,
    "h": 310.3
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#6D388E
secondary
#89B26F
accent
#D35585
background
#F9F7FA
surface
#F2EDF5
border
#CCC8CF
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6D388E

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

Preview Lab → · Contrast checker → · Palette generator →

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