#6F1B95#6F1B95

#6F1B95 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.187 H 312.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6F1B95
RGBrgb(111, 27, 149)
HSLhsl(281, 69%, 35%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(25.5%, 81.9%, 0%, 41.6%)
CIE-LABlab(30.24, 54.09, -48.95)
CIE-LCHlch(30.24, 72.95, 317.85°)
OKLaboklab(42.31% 0.1254 -0.1387)
OKLCHoklch(42.31% 0.187 312.1)
XYZxyz(12.3713, 6.3337, 28.9988)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B95 #41951B
analogous
#321B95 #6F1B95 #951B7E
triadic
#6F1B95 #956F1B #1B956F
tetradic
#6F1B95 #95321B #41951B #1B7E95
square
#6F1B95 #95321B #41951B #1B7E95
split-complementary
#6F1B95 #7E951B #1B9532
monochromatic
#22082D #481261 #6F1B95 #9624C9 #B14CDF

Accessibility & contrast

On white

9.26
#6F1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6F1B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B95
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B95#FFFFFF#000000##FFFFFF
##6F1B951.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#6A3A59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1b95;
/* rgb */ color: rgb(111, 27, 149);
/* oklch */ color: oklch(42.3% 0.187 312.1);
Tailwind
colors: {
  custom: {
    50: '#9d63b5',
    500: '#6f1b95',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b95;
$custom-light: #9d63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b95",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 281.311,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42312,
    "c": 0.18698,
    "h": 312.1
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#6F1B95
secondary
#70C14B
accent
#EC3C73
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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