#6E1F8A#6E1F8A

#6E1F8A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.172 H 315.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6E1F8A
RGBrgb(110, 31, 138)
HSLhsl(284, 63%, 33%)
HSVhsv(284, 78%, 54%)
CMYKcmyk(20.3%, 77.5%, 0%, 45.9%)
CIE-LABlab(29.74, 50.20, -42.98)
CIE-LCHlch(29.74, 66.08, 319.43°)
OKLaboklab(41.67% 0.1227 -0.1212)
OKLCHoklch(41.67% 0.173 315.4)
XYZxyz(11.5071, 6.1304, 24.6170)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F8A #3B8A1F
analogous
#381F8A #6E1F8A #8A1F70
triadic
#6E1F8A #8A6E1F #1F8A6E
tetradic
#6E1F8A #8A381F #3B8A1F #1F708A
square
#6E1F8A #8A381F #3B8A1F #1F708A
split-complementary
#6E1F8A #708A1F #1F8A38
monochromatic
#1E0926 #461458 #6E1F8A #962ABC #B34CD7

Accessibility & contrast

On white

9.43
#6E1F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E1F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F8A
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F8A#FFFFFF#000000##FFFFFF
##6E1F8A1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#1B4888
Tritanopia (blue-blind)
#6C3753
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1f8a;
/* rgb */ color: rgb(110, 31, 138);
/* oklch */ color: oklch(41.7% 0.172 315.4);
Tailwind
colors: {
  custom: {
    50: '#9b64ad',
    500: '#6e1f8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f8a;
$custom-light: #9b64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f8a",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 284.299,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41668,
    "c": 0.1725,
    "h": 315.4
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#6E1F8A
secondary
#68BA4B
accent
#E6416D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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