#6F1D97#6F1D97

#6F1D97 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.187 H 311.3°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6F1D97
RGBrgb(111, 29, 151)
HSLhsl(280, 68%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(26.5%, 80.8%, 0%, 40.8%)
CIE-LABlab(30.62, 53.85, -49.56)
CIE-LCHlch(30.62, 73.18, 317.37°)
OKLaboklab(42.63% 0.1233 -0.1405)
OKLCHoklch(42.63% 0.187 311.3)
XYZxyz(12.5798, 6.4929, 29.8627)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D97 #45971D
analogous
#321D97 #6F1D97 #971D82
triadic
#6F1D97 #976F1D #1D976F
tetradic
#6F1D97 #97321D #45971D #1D8297
square
#6F1D97 #97321D #45971D #1D8297
split-complementary
#6F1D97 #82971D #1D9732
monochromatic
#240930 #491364 #6F1D97 #9527CA #AF51DE

Accessibility & contrast

On white

9.14
#6F1D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6F1D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1D97
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D97#FFFFFF#000000##FFFFFF
##6F1D971.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1d97;
/* rgb */ color: rgb(111, 29, 151);
/* oklch */ color: oklch(42.6% 0.187 311.3);
Tailwind
colors: {
  custom: {
    50: '#9d64b6',
    500: '#6f1d97',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d97;
$custom-light: #9d64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d97",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 280.328,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.18694,
    "h": 311.3
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#6F1D97
secondary
#74C04F
accent
#EB3D76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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