#6F1E7E#6F1E7E

#6F1E7E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.163 H 320.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6F1E7E
RGBrgb(111, 30, 126)
HSLhsl(291, 62%, 31%)
HSVhsv(291, 76%, 49%)
CMYKcmyk(11.9%, 76.2%, 0%, 50.6%)
CIE-LABlab(28.94, 48.36, -36.75)
CIE-LCHlch(28.94, 60.74, 322.77°)
OKLaboklab(40.87% 0.1264 -0.1029)
OKLCHoklch(40.87% 0.163 320.9)
XYZxyz(10.7853, 5.8150, 20.2889)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1E7E #2D7E1E
analogous
#3F1E7E #6F1E7E #7E1E5D
triadic
#6F1E7E #7E6F1E #1E7E6F
tetradic
#6F1E7E #7E3F1E #2D7E1E #1E5D7E
square
#6F1E7E #7E3F1E #2D7E1E #1E5D7E
split-complementary
#6F1E7E #5D7E1E #1E7E3F
monochromatic
#18061B #43124D #6F1E7E #9B2AAF #BC44D2

Accessibility & contrast

On white

9.71
#6F1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6F1E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1E7E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1E7E#FFFFFF#000000##FFFFFF
##6F1E7E1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#70314C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1e7e;
/* rgb */ color: rgb(111, 30, 126);
/* oklch */ color: oklch(40.9% 0.163 320.9);
Tailwind
colors: {
  custom: {
    50: '#9c63a4',
    500: '#6f1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #6f1e7e;
$custom-light: #9c63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1e7e",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 290.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.16302,
    "h": 320.9
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#6F1E7E
secondary
#57B147
accent
#E5435C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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