#6F158F#6F158F

#6F158F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.187 H 314.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6F158F
RGBrgb(111, 21, 143)
HSLhsl(284, 74%, 32%)
HSVhsv(284, 85%, 56%)
CMYKcmyk(22.4%, 85.3%, 0%, 43.9%)
CIE-LABlab(29.16, 54.65, -47.01)
CIE-LCHlch(29.16, 72.09, 319.30°)
OKLaboklab(41.41% 0.1312 -0.133)
OKLCHoklch(41.41% 0.187 314.6)
XYZxyz(11.7808, 5.8994, 26.4994)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F158F #358F15
analogous
#32158F #6F158F #8F1572
triadic
#6F158F #8F6F15 #158F6F
tetradic
#6F158F #8F3215 #358F15 #15728F
square
#6F158F #8F3215 #358F15 #15728F
split-complementary
#6F158F #728F15 #158F32
monochromatic
#1C0524 #460D5A #6F158F #981DC4 #B73CE2

Accessibility & contrast

On white

9.63
#6F158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6F158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F158F
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F158F#FFFFFF#000000##FFFFFF
##6F158F1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#07478D
Tritanopia (blue-blind)
#6C3554
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f158f;
/* rgb */ color: rgb(111, 21, 143);
/* oklch */ color: oklch(41.4% 0.187 314.6);
Tailwind
colors: {
  custom: {
    50: '#9d61b1',
    500: '#6f158f',
    950: '#000000',
  },
}
SCSS
$custom: #6f158f;
$custom-light: #9d61b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f158f",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 284.262,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.18677,
    "h": 314.6
  },
  "luminance": 0.05899
}

Semantic roles & 50–950 ramp

primary
#6F158F
secondary
#60C23E
accent
#F13768
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0511
muted
#7F7A80

Preview Lab

Preview with #6F158F

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

Preview Lab → · Contrast checker → · Palette generator →

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