#6D298D#6D298D

#6D298D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.163 H 312.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6D298D
RGBrgb(109, 41, 141)
HSLhsl(281, 55%, 36%)
HSVhsv(281, 71%, 55%)
CMYKcmyk(22.7%, 70.9%, 0%, 44.7%)
CIE-LABlab(31.26, 46.49, -42.40)
CIE-LCHlch(31.26, 62.92, 317.64°)
OKLaboklab(42.78% 0.1107 -0.1196)
OKLCHoklch(42.78% 0.163 312.8)
XYZxyz(11.9065, 6.7605, 25.8718)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D298D #498D29
analogous
#3B298D #6D298D #8D297B
triadic
#6D298D #8D6D29 #298D6D
tetradic
#6D298D #8D3B29 #498D29 #297B8D
square
#6D298D #8D3B29 #498D29 #297B8D
split-complementary
#6D298D #7B8D29 #298D3B
monochromatic
#240D2E #481B5E #6D298D #9237BC #AD60D1

Accessibility & contrast

On white

8.93
#6D298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D298D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D298D#FFFFFF#000000##FFFFFF
##6D298D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#204B8B
Tritanopia (blue-blind)
#693E58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d298d;
/* rgb */ color: rgb(109, 41, 141);
/* oklch */ color: oklch(42.8% 0.163 312.8);
Tailwind
colors: {
  custom: {
    50: '#9a69af',
    500: '#6d298d',
    950: '#000000',
  },
}
SCSS
$custom: #6d298d;
$custom-light: #9a69af;
$custom-dark: #000000;
JSON
{
  "hex": "#6d298d",
  "rgb": {
    "r": 109,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 280.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42782,
    "c": 0.16296,
    "h": 312.8
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#6D298D
secondary
#79B65B
accent
#DE4A79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D298D

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

Preview Lab → · Contrast checker → · Palette generator →

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