#6E2491#6E2491

#6E2491 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.174 H 312.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6E2491
RGBrgb(110, 36, 145)
HSLhsl(281, 60%, 35%)
HSVhsv(281, 75%, 57%)
CMYKcmyk(24.1%, 75.2%, 0%, 43.1%)
CIE-LABlab(30.93, 49.74, -45.39)
CIE-LCHlch(30.93, 67.33, 317.62°)
OKLaboklab(42.67% 0.1168 -0.1283)
OKLCHoklch(42.67% 0.174 312.3)
XYZxyz(12.1712, 6.6214, 27.4195)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2491 #479124
analogous
#372491 #6E2491 #91247D
triadic
#6E2491 #916E24 #24916E
tetradic
#6E2491 #913724 #479124 #247D91
square
#6E2491 #913724 #479124 #247D91
split-complementary
#6E2491 #7D9124 #249137
monochromatic
#240C2F #491860 #6E2491 #9330C2 #AE59D6

Accessibility & contrast

On white

9.04
#6E2491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2491
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2491#FFFFFF#000000##FFFFFF
##6E24911.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#164A8F
Tritanopia (blue-blind)
#6A3D59
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e2491;
/* rgb */ color: rgb(110, 36, 145);
/* oklch */ color: oklch(42.7% 0.174 312.3);
Tailwind
colors: {
  custom: {
    50: '#9c67b2',
    500: '#6e2491',
    950: '#000000',
  },
}
SCSS
$custom: #6e2491;
$custom-light: #9c67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2491",
  "rgb": {
    "r": 110,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 280.734,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42671,
    "c": 0.17351,
    "h": 312.3
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#6E2491
secondary
#77BA56
accent
#E34477
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E2491

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

Preview Lab → · Contrast checker → · Palette generator →

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