#6D2E8D#6D2E8D

#6D2E8D is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.156 H 312.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#6D2E8D
RGBrgb(109, 46, 141)
HSLhsl(280, 51%, 37%)
HSVhsv(280, 67%, 55%)
CMYKcmyk(22.7%, 67.4%, 0%, 44.7%)
CIE-LABlab(32.10, 44.14, -41.05)
CIE-LCHlch(32.10, 60.28, 317.08°)
OKLaboklab(43.39% 0.1048 -0.1157)
OKLCHoklch(43.39% 0.156 312.2)
XYZxyz(12.0905, 7.1286, 25.9332)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2E8D #4E8D2E
analogous
#3D2E8D #6D2E8D #8D2E7E
triadic
#6D2E8D #8D6D2E #2E8D6D
tetradic
#6D2E8D #8D3D2E #4E8D2E #2E7E8D
square
#6D2E8D #8D3D2E #4E8D2E #2E7E8D
split-complementary
#6D2E8D #7E8D2E #2E8D3D
monochromatic
#261031 #491F5F #6D2E8D #913DBB #AB68CE

Accessibility & contrast

On white

8.66
#6D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6D2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2E8D
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2E8D#FFFFFF#000000##FFFFFF
##6D2E8D1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#264D8B
Tritanopia (blue-blind)
#694159
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2e8d;
/* rgb */ color: rgb(109, 46, 141);
/* oklch */ color: oklch(43.4% 0.156 312.2);
Tailwind
colors: {
  custom: {
    50: '#9a6baf',
    500: '#6d2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #6d2e8d;
$custom-light: #9a6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2e8d",
  "rgb": {
    "r": 109,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 279.789,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43386,
    "c": 0.15611,
    "h": 312.2
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#6D2E8D
secondary
#7EB562
accent
#DA4E7D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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