#6D298E#6D298E

#6D298E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.164 H 312.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6D298E
RGBrgb(109, 41, 142)
HSLhsl(280, 55%, 36%)
HSVhsv(280, 71%, 56%)
CMYKcmyk(23.2%, 71.1%, 0%, 44.3%)
CIE-LABlab(31.32, 46.72, -42.91)
CIE-LCHlch(31.32, 63.43, 317.43°)
OKLaboklab(42.85% 0.1106 -0.1211)
OKLCHoklch(42.85% 0.164 312.4)
XYZxyz(11.9812, 6.7904, 26.2655)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D298E #4A8E29
analogous
#3A298E #6D298E #8E297C
triadic
#6D298E #8E6D29 #298E6D
tetradic
#6D298E #8E3A29 #4A8E29 #297C8E
square
#6D298E #8E3A29 #4A8E29 #297C8E
split-complementary
#6D298E #7C8E29 #298E3A
monochromatic
#240E2F #491B5F #6D298E #9137BD #AC60D1

Accessibility & contrast

On white

8.91
#6D298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6D298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D298E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D298E#FFFFFF#000000##FFFFFF
##6D298E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#693E58
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6d298e;
/* rgb */ color: rgb(109, 41, 142);
/* oklch */ color: oklch(42.9% 0.164 312.4);
Tailwind
colors: {
  custom: {
    50: '#9a69b0',
    500: '#6d298e',
    950: '#000000',
  },
}
SCSS
$custom: #6d298e;
$custom-light: #9a69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d298e",
  "rgb": {
    "r": 109,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 280.396,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.16397,
    "h": 312.4
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#6D298E
secondary
#7AB75C
accent
#DF497A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D298E

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

Preview Lab → · Contrast checker → · Palette generator →

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