#6F157C#6F157C

#6F157C is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 322.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#6F157C
RGBrgb(111, 21, 124)
HSLhsl(292, 71%, 28%)
HSVhsv(292, 83%, 49%)
CMYKcmyk(10.5%, 83.1%, 0%, 51.4%)
CIE-LABlab(27.77, 50.96, -37.37)
CIE-LCHlch(27.77, 63.19, 323.75°)
OKLaboklab(40% 0.1347 -0.1047)
OKLCHoklch(40% 0.171 322.1)
XYZxyz(10.4614, 5.3717, 19.5507)
Luminance0.0537 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F157C #227C15
analogous
#3B157C #6F157C #7C1555
triadic
#6F157C #7C6F15 #157C6F
tetradic
#6F157C #7C3B15 #227C15 #15557C
square
#6F157C #7C3B15 #227C15 #15557C
split-complementary
#6F157C #557C15 #157C3B
monochromatic
#17041A #400C48 #6F157C #9E1EB0 #C630DC

Accessibility & contrast

On white

10.12
#6F157C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6F157C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F157C
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F157C#FFFFFF#000000##FFFFFF
##6F157C1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#25457A
Tritanopia (blue-blind)
#702B49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6f157c;
/* rgb */ color: rgb(111, 21, 124);
/* oklch */ color: oklch(40.0% 0.171 322.1);
Tailwind
colors: {
  custom: {
    50: '#9c5fa2',
    500: '#6f157c',
    950: '#000000',
  },
}
SCSS
$custom: #6f157c;
$custom-light: #9c5fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f157c",
  "rgb": {
    "r": 111,
    "g": 21,
    "b": 124
  },
  "hsl": {
    "h": 292.427,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39996,
    "c": 0.17054,
    "h": 322.1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#6F157C
secondary
#4AB13C
accent
#EE3A51
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F157C

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

Preview Lab → · Contrast checker → · Palette generator →

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