#6E2B8D#6E2B8D

#6E2B8D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.161 H 313.1°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6E2B8D
RGBrgb(110, 43, 141)
HSLhsl(281, 53%, 36%)
HSVhsv(281, 70%, 55%)
CMYKcmyk(22%, 69.5%, 0%, 44.7%)
CIE-LABlab(31.73, 45.80, -41.63)
CIE-LCHlch(31.73, 61.90, 317.73°)
OKLaboklab(43.15% 0.1097 -0.1173)
OKLCHoklch(43.15% 0.161 313.1)
XYZxyz(12.1012, 6.9662, 25.9013)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2B8D #4A8D2B
analogous
#3D2B8D #6E2B8D #8D2B7B
triadic
#6E2B8D #8D6E2B #2B8D6E
tetradic
#6E2B8D #8D3D2B #4A8D2B #2B7B8D
square
#6E2B8D #8D3D2B #4A8D2B #2B7B8D
split-complementary
#6E2B8D #7B8D2B #2B8D3D
monochromatic
#250E2F #491D5E #6E2B8D #9339BC #AD63CF

Accessibility & contrast

On white

8.77
#6E2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2B8D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2B8D#FFFFFF#000000##FFFFFF
##6E2B8D1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#6B3F58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e2b8d;
/* rgb */ color: rgb(110, 43, 141);
/* oklch */ color: oklch(43.2% 0.161 313.1);
Tailwind
colors: {
  custom: {
    50: '#9b6aaf',
    500: '#6e2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e2b8d;
$custom-light: #9b6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2b8d",
  "rgb": {
    "r": 110,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 281.02,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43152,
    "c": 0.16065,
    "h": 313.1
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#6E2B8D
secondary
#7AB65E
accent
#DD4B79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6E2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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