#6F1B8D#6F1B8D

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

Color values

HEX#6F1B8D
RGBrgb(111, 27, 141)
HSLhsl(284, 68%, 33%)
HSVhsv(284, 81%, 55%)
CMYKcmyk(21.3%, 80.9%, 0%, 44.7%)
CIE-LABlab(29.63, 52.43, -45.01)
CIE-LCHlch(29.63, 69.09, 319.35°)
OKLaboklab(41.69% 0.1271 -0.1271)
OKLCHoklch(41.69% 0.18 315)
XYZxyz(11.7544, 6.0869, 25.7499)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B8D #398D1B
analogous
#361B8D #6F1B8D #8D1B72
triadic
#6F1B8D #8D6F1B #1B8D6F
tetradic
#6F1B8D #8D361B #398D1B #1B728D
square
#6F1B8D #8D361B #398D1B #1B728D
split-complementary
#6F1B8D #728D1B #1B8D36
monochromatic
#1E0726 #47115A #6F1B8D #9725C0 #B447DC

Accessibility & contrast

On white

9.47
#6F1B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6F1B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B8D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B8D#FFFFFF#000000##FFFFFF
##6F1B8D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#6C3654
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1b8d;
/* rgb */ color: rgb(111, 27, 141);
/* oklch */ color: oklch(41.7% 0.180 315.0);
Tailwind
colors: {
  custom: {
    50: '#9c63af',
    500: '#6f1b8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b8d;
$custom-light: #9c63af;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b8d",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 284.211,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.17973,
    "h": 315
  },
  "luminance": 0.06086
}

Semantic roles & 50–950 ramp

primary
#6F1B8D
secondary
#66BD46
accent
#EB3D6B
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6F1B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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