#6F157F#6F157F

#6F157F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.173 H 320.9°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6F157F
RGBrgb(111, 21, 127)
HSLhsl(291, 72%, 29%)
HSVhsv(291, 83%, 50%)
CMYKcmyk(12.6%, 83.5%, 0%, 50.2%)
CIE-LABlab(27.98, 51.53, -38.93)
CIE-LCHlch(27.98, 64.58, 322.93°)
OKLaboklab(40.21% 0.1342 -0.1092)
OKLCHoklch(40.21% 0.173 320.9)
XYZxyz(10.6540, 5.4487, 20.5651)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F157F #257F15
analogous
#3A157F #6F157F #7F155A
triadic
#6F157F #7F6F15 #157F6F
tetradic
#6F157F #7F3A15 #257F15 #155A7F
square
#6F157F #7F3A15 #257F15 #155A7F
split-complementary
#6F157F #5A7F15 #157F3A
monochromatic
#17041A #410C4A #6F157F #9D1EB4 #C331DD

Accessibility & contrast

On white

10.05
#6F157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6F157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F157F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F157F#FFFFFF#000000##FFFFFF
##6F157F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#702D4B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f157f;
/* rgb */ color: rgb(111, 21, 127);
/* oklch */ color: oklch(40.2% 0.173 320.9);
Tailwind
colors: {
  custom: {
    50: '#9c60a5',
    500: '#6f157f',
    950: '#000000',
  },
}
SCSS
$custom: #6f157f;
$custom-light: #9c60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f157f",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 290.943,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40209,
    "c": 0.17307,
    "h": 320.9
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#6F157F
secondary
#4EB43C
accent
#EE3955
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F157F

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

Preview Lab → · Contrast checker → · Palette generator →

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