#6E2D8D#6E2D8D

#6E2D8D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.158 H 312.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6E2D8D
RGBrgb(110, 45, 141)
HSLhsl(281, 52%, 36%)
HSVhsv(281, 68%, 55%)
CMYKcmyk(22%, 68.1%, 0%, 44.7%)
CIE-LABlab(32.07, 44.86, -41.09)
CIE-LCHlch(32.07, 60.83, 317.52°)
OKLaboklab(43.4% 0.1074 -0.1158)
OKLCHoklch(43.4% 0.158 312.8)
XYZxyz(12.1757, 7.1152, 25.9261)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D8D #4C8D2D
analogous
#3E2D8D #6E2D8D #8D2D7C
triadic
#6E2D8D #8D6E2D #2D8D6E
tetradic
#6E2D8D #8D3E2D #4C8D2D #2D7C8D
square
#6E2D8D #8D3E2D #4C8D2D #2D7C8D
split-complementary
#6E2D8D #7C8D2D #2D8D3E
monochromatic
#260F30 #4A1E5F #6E2D8D #923CBB #AD66CE

Accessibility & contrast

On white

8.67
#6E2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6E2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D8D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D8D#FFFFFF#000000##FFFFFF
##6E2D8D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2d8d;
/* rgb */ color: rgb(110, 45, 141);
/* oklch */ color: oklch(43.4% 0.158 312.8);
Tailwind
colors: {
  custom: {
    50: '#9b6baf',
    500: '#6e2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d8d;
$custom-light: #9b6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d8d",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 280.625,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.15789,
    "h": 312.8
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#6E2D8D
secondary
#7CB561
accent
#DB4D7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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