#6E1F8D#6E1F8D

#6E1F8D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.175 H 314.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6E1F8D
RGBrgb(110, 31, 141)
HSLhsl(283, 64%, 34%)
HSVhsv(283, 78%, 55%)
CMYKcmyk(22%, 78%, 0%, 44.7%)
CIE-LABlab(29.96, 50.83, -44.49)
CIE-LCHlch(29.96, 67.55, 318.81°)
OKLaboklab(41.89% 0.1222 -0.1256)
OKLCHoklch(41.89% 0.175 314.2)
XYZxyz(11.7273, 6.2185, 25.7767)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F8D #3E8D1F
analogous
#371F8D #6E1F8D #8D1F75
triadic
#6E1F8D #8D6E1F #1F8D6E
tetradic
#6E1F8D #8D371F #3E8D1F #1F758D
square
#6E1F8D #8D371F #3E8D1F #1F758D
split-complementary
#6E1F8D #758D1F #1F8D37
monochromatic
#200929 #47145B #6E1F8D #952ABF #B14ED8

Accessibility & contrast

On white

9.36
#6E1F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6E1F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F8D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F8D#FFFFFF#000000##FFFFFF
##6E1F8D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#17488B
Tritanopia (blue-blind)
#6B3855
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1f8d;
/* rgb */ color: rgb(110, 31, 141);
/* oklch */ color: oklch(41.9% 0.175 314.2);
Tailwind
colors: {
  custom: {
    50: '#9c64af',
    500: '#6e1f8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f8d;
$custom-light: #9c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f8d",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 141
  },
  "hsl": {
    "h": 283.091,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.17529,
    "h": 314.2
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#6E1F8D
secondary
#6CBB4D
accent
#E74170
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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