#6F1C97#6F1C97

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

Color values

HEX#6F1C97
RGBrgb(111, 28, 151)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(26.5%, 81.5%, 0%, 40.8%)
CIE-LABlab(30.51, 54.18, -49.75)
CIE-LCHlch(30.51, 73.55, 317.44°)
OKLaboklab(42.55% 0.1241 -0.141)
OKLCHoklch(42.55% 0.188 311.4)
XYZxyz(12.5556, 6.4447, 29.8547)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C97 #44971C
analogous
#321C97 #6F1C97 #971C81
triadic
#6F1C97 #976F1C #1C976F
tetradic
#6F1C97 #97321C #44971C #1C8197
square
#6F1C97 #97321C #44971C #1C8197
split-complementary
#6F1C97 #81971C #1C9732
monochromatic
#230930 #491263 #6F1C97 #9526CB #B04FDE

Accessibility & contrast

On white

9.18
#6F1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6F1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C97
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C97#FFFFFF#000000##FFFFFF
##6F1C971.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.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: #6f1c97;
/* rgb */ color: rgb(111, 28, 151);
/* oklch */ color: oklch(42.5% 0.188 311.4);
Tailwind
colors: {
  custom: {
    50: '#9d63b6',
    500: '#6f1c97',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c97;
$custom-light: #9d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c97",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 280.488,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42549,
    "c": 0.18789,
    "h": 311.4
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#6F1C97
secondary
#73C14E
accent
#EC3C75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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