#6D2896#6D2896

#6D2896 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.173 H 309.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6D2896
RGBrgb(109, 40, 150)
HSLhsl(278, 58%, 37%)
HSVhsv(278, 73%, 59%)
CMYKcmyk(27.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(31.74, 48.96, -47.15)
CIE-LCHlch(31.74, 67.97, 316.08°)
OKLaboklab(43.33% 0.1106 -0.1336)
OKLCHoklch(43.33% 0.173 309.6)
XYZxyz(12.5694, 6.9711, 29.5316)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2896 #519628
analogous
#362896 #6D2896 #962888
triadic
#6D2896 #966D28 #28966D
tetradic
#6D2896 #963628 #519628 #288896
square
#6D2896 #963628 #519628 #288896
split-complementary
#6D2896 #889628 #289636
monochromatic
#270E35 #4A1B66 #6D2896 #9035C6 #AB63D5

Accessibility & contrast

On white

8.77
#6D2896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D2896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2896
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2896#FFFFFF#000000##FFFFFF
##6D28961.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#0F4C94
Tritanopia (blue-blind)
#67415C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2896;
/* rgb */ color: rgb(109, 40, 150);
/* oklch */ color: oklch(43.3% 0.173 309.6);
Tailwind
colors: {
  custom: {
    50: '#9b69b6',
    500: '#6d2896',
    950: '#000000',
  },
}
SCSS
$custom: #6d2896;
$custom-light: #9b69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2896",
  "rgb": {
    "r": 109,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 277.636,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43332,
    "c": 0.1734,
    "h": 309.6
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#6D2896
secondary
#81BB5F
accent
#E14780
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0711
muted
#7E7A80

Preview Lab

Preview with #6D2896

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

Preview Lab → · Contrast checker → · Palette generator →

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