#6F1A82#6F1A82

#6F1A82 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.171 H 319.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6F1A82
RGBrgb(111, 26, 130)
HSLhsl(289, 67%, 31%)
HSVhsv(289, 80%, 51%)
CMYKcmyk(14.6%, 80%, 0%, 49%)
CIE-LABlab(28.72, 50.55, -39.62)
CIE-LCHlch(28.72, 64.22, 321.92°)
OKLaboklab(40.8% 0.1297 -0.1113)
OKLCHoklch(40.8% 0.171 319.4)
XYZxyz(10.9537, 5.7306, 21.6439)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A82 #2D821A
analogous
#3B1A82 #6F1A82 #821A61
triadic
#6F1A82 #826F1A #1A826F
tetradic
#6F1A82 #823B1A #2D821A #1A6182
square
#6F1A82 #823B1A #2D821A #1A6182
split-complementary
#6F1A82 #61821A #1A823B
monochromatic
#18061C #43104F #6F1A82 #9B24B5 #BC3ED8

Accessibility & contrast

On white

9.79
#6F1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1A82
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A82#FFFFFF#000000##FFFFFF
##6F1A821.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#224680
Tritanopia (blue-blind)
#6F304E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1a82;
/* rgb */ color: rgb(111, 26, 130);
/* oklch */ color: oklch(40.8% 0.171 319.4);
Tailwind
colors: {
  custom: {
    50: '#9c62a7',
    500: '#6f1a82',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a82;
$custom-light: #9c62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a82",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 289.038,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.17091,
    "h": 319.4
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#6F1A82
secondary
#57B642
accent
#EA3E5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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