#6F157E#6F157E

#6F157E is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.172 H 321.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6F157E
RGBrgb(111, 21, 126)
HSLhsl(291, 71%, 29%)
HSVhsv(291, 83%, 49%)
CMYKcmyk(11.9%, 83.3%, 0%, 50.6%)
CIE-LABlab(27.91, 51.34, -38.41)
CIE-LCHlch(27.91, 64.12, 323.20°)
OKLaboklab(40.14% 0.1344 -0.1077)
OKLCHoklch(40.14% 0.172 321.3)
XYZxyz(10.5892, 5.4228, 20.2236)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F157E #247E15
analogous
#3B157E #6F157E #7E1559
triadic
#6F157E #7E6F15 #157E6F
tetradic
#6F157E #7E3B15 #247E15 #15597E
square
#6F157E #7E3B15 #247E15 #15597E
split-complementary
#6F157E #597E15 #157E3B
monochromatic
#17041A #410C4A #6F157E #9D1EB2 #C431DD

Accessibility & contrast

On white

10.07
#6F157E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6F157E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F157E
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F157E#FFFFFF#000000##FFFFFF
##6F157E1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#24457C
Tritanopia (blue-blind)
#702C4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f157e;
/* rgb */ color: rgb(111, 21, 126);
/* oklch */ color: oklch(40.1% 0.172 321.3);
Tailwind
colors: {
  custom: {
    50: '#9c60a4',
    500: '#6f157e',
    950: '#000000',
  },
}
SCSS
$custom: #6f157e;
$custom-light: #9c60a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f157e",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 126
  },
  "hsl": {
    "h": 291.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40138,
    "c": 0.17222,
    "h": 321.3
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#6F157E
secondary
#4DB33C
accent
#EE3A53
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F157E

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

Preview Lab → · Contrast checker → · Palette generator →

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