#6E1F84#6E1F84

#6E1F84 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.167 H 317.7°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6E1F84
RGBrgb(110, 31, 132)
HSLhsl(287, 62%, 32%)
HSVhsv(287, 77%, 52%)
CMYKcmyk(16.7%, 76.5%, 0%, 48.2%)
CIE-LABlab(29.31, 48.96, -39.92)
CIE-LCHlch(29.31, 63.18, 320.81°)
OKLaboklab(41.23% 0.1236 -0.1122)
OKLCHoklch(41.23% 0.167 317.7)
XYZxyz(11.0847, 5.9614, 22.3921)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F84 #35841F
analogous
#3C1F84 #6E1F84 #841F68
triadic
#6E1F84 #846E1F #1F846E
tetradic
#6E1F84 #843C1F #35841F #1F6884
square
#6E1F84 #843C1F #35841F #1F6884
split-complementary
#6E1F84 #68841F #1F843C
monochromatic
#1B0821 #451352 #6E1F84 #972BB6 #B649D4

Accessibility & contrast

On white

9.58
#6E1F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6E1F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F84
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F84#FFFFFF#000000##FFFFFF
##6E1F841.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004087
Deuteranopia (green-blind)
#234782
Tritanopia (blue-blind)
#6D3450
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1f84;
/* rgb */ color: rgb(110, 31, 132);
/* oklch */ color: oklch(41.2% 0.167 317.7);
Tailwind
colors: {
  custom: {
    50: '#9b64a8',
    500: '#6e1f84',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f84;
$custom-light: #9b64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f84",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 286.931,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41233,
    "c": 0.16693,
    "h": 317.7
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#6E1F84
secondary
#60B748
accent
#E54366
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F84

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

Preview Lab → · Contrast checker → · Palette generator →

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