#6E1F8E#6E1F8E

#6E1F8E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.176 H 313.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6E1F8E
RGBrgb(110, 31, 142)
HSLhsl(283, 64%, 34%)
HSVhsv(283, 78%, 56%)
CMYKcmyk(22.5%, 78.2%, 0%, 44.3%)
CIE-LABlab(30.03, 51.04, -44.99)
CIE-LCHlch(30.03, 68.03, 318.61°)
OKLaboklab(41.97% 0.1221 -0.1271)
OKLCHoklch(41.97% 0.176 313.8)
XYZxyz(11.8020, 6.2484, 26.1703)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F8E #3F8E1F
analogous
#371F8E #6E1F8E #8E1F77
triadic
#6E1F8E #8E6E1F #1F8E6E
tetradic
#6E1F8E #8E371F #3F8E1F #1F778E
square
#6E1F8E #8E371F #3F8E1F #1F778E
split-complementary
#6E1F8E #778E1F #1F8E37
monochromatic
#20092A #47145C #6E1F8E #952AC0 #B14FD9

Accessibility & contrast

On white

9.33
#6E1F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6E1F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F8E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F8E#FFFFFF#000000##FFFFFF
##6E1F8E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#6B3956
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1f8e;
/* rgb */ color: rgb(110, 31, 142);
/* oklch */ color: oklch(42.0% 0.176 313.8);
Tailwind
colors: {
  custom: {
    50: '#9c64b0',
    500: '#6e1f8e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f8e;
$custom-light: #9c64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f8e",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 142
  },
  "hsl": {
    "h": 282.703,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41966,
    "c": 0.17623,
    "h": 313.8
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#6E1F8E
secondary
#6DBB4D
accent
#E74171
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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