#6E2D7B#6E2D7B

#6E2D7B is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.139 H 320.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6E2D7B
RGBrgb(110, 45, 123)
HSLhsl(290, 46%, 33%)
HSVhsv(290, 63%, 48%)
CMYKcmyk(10.6%, 63.4%, 0%, 51.8%)
CIE-LABlab(30.93, 40.95, -31.70)
CIE-LCHlch(30.93, 51.79, 322.26°)
OKLaboklab(42.21% 0.1077 -0.0883)
OKLCHoklch(42.21% 0.139 320.6)
XYZxyz(10.9435, 6.6223, 19.4368)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2D7B #3A7B2D
analogous
#472D7B #6E2D7B #7B2D61
triadic
#6E2D7B #7B6E2D #2D7B6E
tetradic
#6E2D7B #7B472D #3A7B2D #2D617B
square
#6E2D7B #7B472D #3A7B2D #2D617B
split-complementary
#6E2D7B #617B2D #2D7B47
monochromatic
#1E0C21 #461D4E #6E2D7B #963DA8 #B35EC4

Accessibility & contrast

On white

9.03
#6E2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E2D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2D7B
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2D7B#FFFFFF#000000##FFFFFF
##6E2D7B1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B447D
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#6F394F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2d7b;
/* rgb */ color: rgb(110, 45, 123);
/* oklch */ color: oklch(42.2% 0.139 320.6);
Tailwind
colors: {
  custom: {
    50: '#9a6aa1',
    500: '#6e2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #6e2d7b;
$custom-light: #9a6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2d7b",
  "rgb": {
    "r": 110,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 290,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42208,
    "c": 0.13926,
    "h": 320.6
  },
  "luminance": 0.06622
}

Semantic roles & 50–950 ramp

primary
#6E2D7B
secondary
#67AB59
accent
#D65268
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6E2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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