#6B296E#6B296E

#6B296E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.131 H 325.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6B296E
RGBrgb(107, 41, 110)
HSLhsl(297, 46%, 30%)
HSVhsv(297, 63%, 43%)
CMYKcmyk(2.7%, 62.7%, 0%, 56.9%)
CIE-LABlab(29.00, 39.46, -26.54)
CIE-LCHlch(29.00, 47.55, 326.07°)
OKLaboklab(40.47% 0.1085 -0.0734)
OKLCHoklch(40.47% 0.131 325.9)
XYZxyz(9.6706, 5.8380, 15.3663)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B296E #2C6E29
analogous
#49296E #6B296E #6E294F
triadic
#6B296E #6E6B29 #296E6B
tetradic
#6B296E #6E4929 #2C6E29 #294F6E
square
#6B296E #6E4929 #2C6E29 #294F6E
split-complementary
#6B296E #4F6E29 #296E49
monochromatic
#160816 #401841 #6B296E #963A9B #BA53BF

Accessibility & contrast

On white

9.69
#6B296E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6B296E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B296E
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B296E#FFFFFF#000000##FFFFFF
##6B296E1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#37476C
Tritanopia (blue-blind)
#6E3247
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b296e;
/* rgb */ color: rgb(107, 41, 110);
/* oklch */ color: oklch(40.5% 0.131 325.9);
Tailwind
colors: {
  custom: {
    50: '#986798',
    500: '#6b296e',
    950: '#000000',
  },
}
SCSS
$custom: #6b296e;
$custom-light: #986798;
$custom-dark: #000000;
JSON
{
  "hex": "#6b296e",
  "rgb": {
    "r": 107,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 297.391,
    "s": 45.695,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.13098,
    "h": 325.9
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#6B296E
secondary
#56A053
accent
#D55258
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6B296E

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

Preview Lab → · Contrast checker → · Palette generator →

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