#6F1F79#6F1F79

#6F1F79 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.157 H 323.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#6F1F79
RGBrgb(111, 31, 121)
HSLhsl(293, 59%, 30%)
HSVhsv(293, 74%, 47%)
CMYKcmyk(8.3%, 74.4%, 0%, 52.5%)
CIE-LABlab(28.75, 47.00, -33.90)
CIE-LCHlch(28.75, 57.95, 324.20°)
OKLaboklab(40.63% 0.1257 -0.0946)
OKLCHoklch(40.63% 0.157 323)
XYZxyz(10.4964, 5.7406, 18.6406)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F79 #29791F
analogous
#421F79 #6F1F79 #791F56
triadic
#6F1F79 #796F1F #1F796F
tetradic
#6F1F79 #79421F #29791F #1F5679
square
#6F1F79 #79421F #29791F #1F5679
split-complementary
#6F1F79 #56791F #1F7942
monochromatic
#160618 #421348 #6F1F79 #9C2BAA #BF43CF

Accessibility & contrast

On white

9.78
#6F1F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6F1F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F79
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F79#FFFFFF#000000##FFFFFF
##6F1F791.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#2D4777
Tritanopia (blue-blind)
#712F4A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1f79;
/* rgb */ color: rgb(111, 31, 121);
/* oklch */ color: oklch(40.6% 0.157 323.0);
Tailwind
colors: {
  custom: {
    50: '#9b63a0',
    500: '#6f1f79',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f79;
$custom-light: #9b63a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f79",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 121
  },
  "hsl": {
    "h": 293.333,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40628,
    "c": 0.15734,
    "h": 323
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#6F1F79
secondary
#53AC47
accent
#E24557
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6F1F79

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

Preview Lab → · Contrast checker → · Palette generator →

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