#6E2E82#6E2E82

#6E2E82 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.8% C 0.145 H 317.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6E2E82
RGBrgb(110, 46, 130)
HSLhsl(286, 48%, 35%)
HSVhsv(286, 65%, 51%)
CMYKcmyk(15.4%, 64.6%, 0%, 49%)
CIE-LABlab(31.53, 41.95, -35.12)
CIE-LCHlch(31.53, 54.71, 320.07°)
OKLaboklab(42.78% 0.1065 -0.0983)
OKLCHoklch(42.78% 0.145 317.3)
XYZxyz(11.4361, 6.8811, 21.8406)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2E82 #42822E
analogous
#442E82 #6E2E82 #822E6C
triadic
#6E2E82 #826E2E #2E826E
tetradic
#6E2E82 #82442E #42822E #2E6C82
square
#6E2E82 #82442E #42822E #2E6C82
split-complementary
#6E2E82 #6C822E #2E8244
monochromatic
#220E28 #481E55 #6E2E82 #943EAF #B063C8

Accessibility & contrast

On white

8.84
#6E2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6E2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2E82
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2E82#FFFFFF#000000##FFFFFF
##6E2E821.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144685
Deuteranopia (green-blind)
#304C80
Tritanopia (blue-blind)
#6D3D53
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6e2e82;
/* rgb */ color: rgb(110, 46, 130);
/* oklch */ color: oklch(42.8% 0.145 317.3);
Tailwind
colors: {
  custom: {
    50: '#9a6ba7',
    500: '#6e2e82',
    950: '#000000',
  },
}
SCSS
$custom: #6e2e82;
$custom-light: #9a6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2e82",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 285.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.14492,
    "h": 317.3
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#6E2E82
secondary
#71AE5D
accent
#D75071
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6E2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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