#6F1A8A#6F1A8A

#6F1A8A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.178 H 316.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#6F1A8A
RGBrgb(111, 26, 138)
HSLhsl(286, 68%, 32%)
HSVhsv(286, 81%, 54%)
CMYKcmyk(19.6%, 81.2%, 0%, 45.9%)
CIE-LABlab(29.30, 52.14, -43.69)
CIE-LCHlch(29.30, 68.03, 320.04°)
OKLaboklab(41.39% 0.1285 -0.1232)
OKLCHoklch(41.39% 0.178 316.2)
XYZxyz(11.5117, 5.9537, 24.5826)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A8A #358A1A
analogous
#371A8A #6F1A8A #8A1A6D
triadic
#6F1A8A #8A6F1A #1A8A6F
tetradic
#6F1A8A #8A371A #358A1A #1A6D8A
square
#6F1A8A #8A371A #358A1A #1A6D8A
split-complementary
#6F1A8A #6D8A1A #1A8A37
monochromatic
#1C0723 #461057 #6F1A8A #9824BD #B743DC

Accessibility & contrast

On white

9.59
#6F1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1A8A
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A8A#FFFFFF#000000##FFFFFF
##6F1A8A1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#184788
Tritanopia (blue-blind)
#6D3452
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1a8a;
/* rgb */ color: rgb(111, 26, 138);
/* oklch */ color: oklch(41.4% 0.178 316.2);
Tailwind
colors: {
  custom: {
    50: '#9c62ad',
    500: '#6f1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a8a;
$custom-light: #9c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a8a",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 285.536,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41388,
    "c": 0.178,
    "h": 316.2
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#6F1A8A
secondary
#60BD43
accent
#EB3D67
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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