#6B296D#6B296D

#6B296D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.4% C 0.130 H 326.5°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6B296D
RGBrgb(107, 41, 109)
HSLhsl(298, 45%, 29%)
HSVhsv(298, 62%, 43%)
CMYKcmyk(1.8%, 62.4%, 0%, 57.3%)
CIE-LABlab(28.94, 39.26, -25.99)
CIE-LCHlch(28.94, 47.08, 326.50°)
OKLaboklab(40.41% 0.1084 -0.0718)
OKLCHoklch(40.41% 0.13 326.5)
XYZxyz(9.6165, 5.8164, 15.0812)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B296D #2B6D29
analogous
#49296D #6B296D #6D294D
triadic
#6B296D #6D6B29 #296D6B
tetradic
#6B296D #6D4929 #2B6D29 #294D6D
square
#6B296D #6D4929 #2B6D29 #294D6D
split-complementary
#6B296D #4D6D29 #296D49
monochromatic
#160816 #3F1841 #6B296D #973A99 #BB52BE

Accessibility & contrast

On white

9.71
#6B296D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6B296D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B296D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B296D#FFFFFF#000000##FFFFFF
##6B296D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#37476B
Tritanopia (blue-blind)
#6E3247
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b296d;
/* rgb */ color: rgb(107, 41, 109);
/* oklch */ color: oklch(40.4% 0.130 326.5);
Tailwind
colors: {
  custom: {
    50: '#986797',
    500: '#6b296d',
    950: '#000000',
  },
}
SCSS
$custom: #6b296d;
$custom-light: #986797;
$custom-dark: #000000;
JSON
{
  "hex": "#6b296d",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 109
  },
  "hsl": {
    "h": 298.235,
    "s": 45.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40408,
    "c": 0.13002,
    "h": 326.5
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#6B296D
secondary
#559F53
accent
#D55357
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B296D

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

Preview Lab → · Contrast checker → · Palette generator →

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