#6E2D72#6E2D72

#6E2D72 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.130 H 325.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6E2D72
RGBrgb(110, 45, 114)
HSLhsl(297, 43%, 31%)
HSVhsv(297, 61%, 45%)
CMYKcmyk(3.5%, 60.5%, 0%, 55.3%)
CIE-LABlab(30.42, 39.12, -26.82)
CIE-LCHlch(30.42, 47.43, 325.56°)
OKLaboklab(41.67% 0.1071 -0.0742)
OKLCHoklch(41.67% 0.13 325.3)
XYZxyz(10.4058, 6.4073, 16.6050)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D72 #31722D
analogous
#4B2D72 #6E2D72 #722D53
triadic
#6E2D72 #726E2D #2D726E
tetradic
#6E2D72 #724B2D #31722D #2D5372
square
#6E2D72 #724B2D #31722D #2D5372
split-complementary
#6E2D72 #53722D #2D724B
monochromatic
#190A1A #441C46 #6E2D72 #983E9E #B95BBE

Accessibility & contrast

On white

9.20
#6E2D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E2D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D72
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D72#FFFFFF#000000##FFFFFF
##6E2D721.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234274
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#71364B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e2d72;
/* rgb */ color: rgb(110, 45, 114);
/* oklch */ color: oklch(41.7% 0.130 325.3);
Tailwind
colors: {
  custom: {
    50: '#9a6a9b',
    500: '#6e2d72',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d72;
$custom-light: #9a6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d72",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 114
  },
  "hsl": {
    "h": 296.522,
    "s": 43.396,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.13026,
    "h": 325.3
  },
  "luminance": 0.06407
}

Semantic roles & 50–950 ramp

primary
#6E2D72
secondary
#5CA357
accent
#D3555C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #6E2D72

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

Preview Lab → · Contrast checker → · Palette generator →

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