#6E1F91#6E1F91

#6E1F91 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.179 H 312.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6E1F91
RGBrgb(110, 31, 145)
HSLhsl(282, 65%, 35%)
HSVhsv(282, 79%, 57%)
CMYKcmyk(24.1%, 78.6%, 0%, 43.1%)
CIE-LABlab(30.25, 51.67, -46.48)
CIE-LCHlch(30.25, 69.50, 318.03°)
OKLaboklab(42.19% 0.1215 -0.1315)
OKLCHoklch(42.19% 0.179 312.7)
XYZxyz(12.0303, 6.3397, 27.3725)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F91 #42911F
analogous
#351F91 #6E1F91 #911F7B
triadic
#6E1F91 #916E1F #1F916E
tetradic
#6E1F91 #91351F #42911F #1F7B91
square
#6E1F91 #91351F #42911F #1F7B91
split-complementary
#6E1F91 #7B911F #1F9135
monochromatic
#22092C #48145F #6E1F91 #942AC3 #B051DA

Accessibility & contrast

On white

9.26
#6E1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6E1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F91
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F91#FFFFFF#000000##FFFFFF
##6E1F911.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#0E498F
Tritanopia (blue-blind)
#6A3A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1f91;
/* rgb */ color: rgb(110, 31, 145);
/* oklch */ color: oklch(42.2% 0.179 312.7);
Tailwind
colors: {
  custom: {
    50: '#9c64b2',
    500: '#6e1f91',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f91;
$custom-light: #9c64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f91",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 281.579,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42194,
    "c": 0.17904,
    "h": 312.7
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#6E1F91
secondary
#71BD4F
accent
#E84074
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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