#6D278B#6D278B

#6D278B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.164 H 313.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6D278B
RGBrgb(109, 39, 139)
HSLhsl(282, 56%, 35%)
HSVhsv(282, 72%, 55%)
CMYKcmyk(21.6%, 71.9%, 0%, 45.5%)
CIE-LABlab(30.80, 46.94, -41.90)
CIE-LCHlch(30.80, 62.92, 318.25°)
OKLaboklab(42.41% 0.1131 -0.1181)
OKLCHoklch(42.41% 0.164 313.8)
XYZxyz(11.6916, 6.5667, 25.0727)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D278B #458B27
analogous
#3B278B #6D278B #8B2777
triadic
#6D278B #8B6D27 #278B6D
tetradic
#6D278B #8B3B27 #458B27 #27778B
square
#6D278B #8B3B27 #458B27 #27778B
split-complementary
#6D278B #778B27 #278B3B
monochromatic
#220C2B #481A5B #6D278B #9234BB #AE5BD1

Accessibility & contrast

On white

9.08
#6D278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D278B
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D278B#FFFFFF#000000##FFFFFF
##6D278B1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#204A89
Tritanopia (blue-blind)
#6A3C56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d278b;
/* rgb */ color: rgb(109, 39, 139);
/* oklch */ color: oklch(42.4% 0.164 313.8);
Tailwind
colors: {
  custom: {
    50: '#9a68ad',
    500: '#6d278b',
    950: '#000000',
  },
}
SCSS
$custom: #6d278b;
$custom-light: #9a68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d278b",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 282,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42412,
    "c": 0.16354,
    "h": 313.8
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#6D278B
secondary
#74B658
accent
#DF4876
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D278B

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

Preview Lab → · Contrast checker → · Palette generator →

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