#6B137E#6B137E

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

Color values

HEX#6B137E
RGBrgb(107, 19, 126)
HSLhsl(289, 74%, 28%)
HSVhsv(289, 85%, 49%)
CMYKcmyk(15.1%, 84.9%, 0%, 50.6%)
CIE-LABlab(27.01, 51.13, -39.88)
CIE-LCHlch(27.01, 64.84, 322.04°)
OKLaboklab(39.37% 0.1309 -0.1122)
OKLCHoklch(39.37% 0.172 319.4)
XYZxyz(10.0617, 5.0984, 20.1887)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B137E #267E13
analogous
#35137E #6B137E #7E135B
triadic
#6B137E #7E6B13 #137E6B
tetradic
#6B137E #7E3513 #267E13 #135B7E
square
#6B137E #7E3513 #267E13 #135B7E
split-complementary
#6B137E #5B7E13 #137E35
monochromatic
#17041B #3E0B49 #6B137E #981BB3 #BF2CDF

Accessibility & contrast

On white

10.40
#6B137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B137E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B137E#FFFFFF#000000##FFFFFF
##6B137E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#1D437C
Tritanopia (blue-blind)
#6B2C4A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b137e;
/* rgb */ color: rgb(107, 19, 126);
/* oklch */ color: oklch(39.4% 0.172 319.4);
Tailwind
colors: {
  custom: {
    50: '#995ea4',
    500: '#6b137e',
    950: '#000000',
  },
}
SCSS
$custom: #6b137e;
$custom-light: #995ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b137e",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 289.346,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39373,
    "c": 0.17237,
    "h": 319.4
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#6B137E
secondary
#4FB439
accent
#F03758
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B137E

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

Preview Lab → · Contrast checker → · Palette generator →

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