#6E2F82#6E2F82

#6E2F82 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.143 H 317.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6E2F82
RGBrgb(110, 47, 130)
HSLhsl(286, 47%, 35%)
HSVhsv(286, 64%, 51%)
CMYKcmyk(15.4%, 63.8%, 0%, 49%)
CIE-LABlab(31.72, 41.45, -34.83)
CIE-LCHlch(31.72, 54.14, 319.96°)
OKLaboklab(42.91% 0.1052 -0.0975)
OKLCHoklch(42.91% 0.143 317.2)
XYZxyz(11.4756, 6.9602, 21.8537)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2F82 #43822F
analogous
#442F82 #6E2F82 #822F6D
triadic
#6E2F82 #826E2F #2F826E
tetradic
#6E2F82 #82442F #43822F #2F6D82
square
#6E2F82 #82442F #43822F #2F6D82
split-complementary
#6E2F82 #6D822F #2F8244
monochromatic
#220E28 #481F55 #6E2F82 #943FAF #AF64C7

Accessibility & contrast

On white

8.78
#6E2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2F82
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2F82#FFFFFF#000000##FFFFFF
##6E2F821.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164785
Deuteranopia (green-blind)
#314D80
Tritanopia (blue-blind)
#6D3D54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2f82;
/* rgb */ color: rgb(110, 47, 130);
/* oklch */ color: oklch(42.9% 0.143 317.2);
Tailwind
colors: {
  custom: {
    50: '#9a6ca7',
    500: '#6e2f82',
    950: '#000000',
  },
}
SCSS
$custom: #6e2f82;
$custom-light: #9a6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2f82",
  "rgb": {
    "r": 110,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 285.542,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42914,
    "c": 0.14341,
    "h": 317.2
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#6E2F82
secondary
#72AE5F
accent
#D75171
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6E2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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