#6B137F#6B137F

#6B137F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.173 H 319.0°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#6B137F
RGBrgb(107, 19, 127)
HSLhsl(289, 74%, 29%)
HSVhsv(289, 85%, 50%)
CMYKcmyk(15.7%, 85%, 0%, 50.2%)
CIE-LABlab(27.09, 51.32, -40.40)
CIE-LCHlch(27.09, 65.31, 321.79°)
OKLaboklab(39.45% 0.1307 -0.1137)
OKLCHoklch(39.45% 0.173 319)
XYZxyz(10.1265, 5.1244, 20.5303)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B137F #277F13
analogous
#35137F #6B137F #7F135D
triadic
#6B137F #7F6B13 #137F6B
tetradic
#6B137F #7F3513 #277F13 #135D7F
square
#6B137F #7F3513 #277F13 #135D7F
split-complementary
#6B137F #5D7F13 #137F35
monochromatic
#16041B #3E0B4A #6B137F #981BB4 #BE2DE0

Accessibility & contrast

On white

10.37
#6B137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6B137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B137F
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B137F#FFFFFF#000000##FFFFFF
##6B137F1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A82
Deuteranopia (green-blind)
#1B437D
Tritanopia (blue-blind)
#6B2D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b137f;
/* rgb */ color: rgb(107, 19, 127);
/* oklch */ color: oklch(39.4% 0.173 319.0);
Tailwind
colors: {
  custom: {
    50: '#995ea5',
    500: '#6b137f',
    950: '#000000',
  },
}
SCSS
$custom: #6b137f;
$custom-light: #995ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b137f",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 288.889,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.17322,
    "h": 319
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#6B137F
secondary
#50B439
accent
#F1375A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B137F

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

Preview Lab → · Contrast checker → · Palette generator →

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