#6F1B97#6F1B97

#6F1B97 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.189 H 311.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6F1B97
RGBrgb(111, 27, 151)
HSLhsl(281, 70%, 35%)
HSVhsv(281, 82%, 59%)
CMYKcmyk(26.5%, 82.1%, 0%, 40.8%)
CIE-LABlab(30.40, 54.51, -49.93)
CIE-LCHlch(30.40, 73.92, 317.51°)
OKLaboklab(42.47% 0.1249 -0.1416)
OKLCHoklch(42.47% 0.189 311.4)
XYZxyz(12.5323, 6.3981, 29.8469)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B97 #43971B
analogous
#311B97 #6F1B97 #971B81
triadic
#6F1B97 #976F1B #1B976F
tetradic
#6F1B97 #97311B #43971B #1B8197
square
#6F1B97 #97311B #43971B #1B8197
split-complementary
#6F1B97 #81971B #1B9731
monochromatic
#23082F #491263 #6F1B97 #9524CB #B04DDF

Accessibility & contrast

On white

9.21
#6F1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6F1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B97
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B97#FFFFFF#000000##FFFFFF
##6F1B971.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#6A3B5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1b97;
/* rgb */ color: rgb(111, 27, 151);
/* oklch */ color: oklch(42.5% 0.189 311.4);
Tailwind
colors: {
  custom: {
    50: '#9d63b6',
    500: '#6f1b97',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b97;
$custom-light: #9d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b97",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 280.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.1888,
    "h": 311.4
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#6F1B97
secondary
#72C14C
accent
#EC3B74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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