#6B136F#6B136F

#6B136F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.3% C 0.160 H 326.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#6B136F
RGBrgb(107, 19, 111)
HSLhsl(297, 71%, 25%)
HSVhsv(297, 83%, 44%)
CMYKcmyk(3.6%, 82.9%, 0%, 56.5%)
CIE-LABlab(25.98, 48.33, -31.98)
CIE-LCHlch(25.98, 57.95, 326.51°)
OKLaboklab(38.32% 0.1327 -0.089)
OKLCHoklch(38.32% 0.16 326.2)
XYZxyz(9.1653, 4.7399, 15.4680)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B136F #176F13
analogous
#3D136F #6B136F #6F1345
triadic
#6B136F #6F6B13 #136F6B
tetradic
#6B136F #6F3D13 #176F13 #13456F
square
#6B136F #6F3D13 #176F13 #13456F
split-complementary
#6B136F #456F13 #136F3D
monochromatic
#19041A #390A3B #6B136F #9D1CA3 #D025D8

Accessibility & contrast

On white

10.78
#6B136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6B136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B136F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B136F#FFFFFF#000000##FFFFFF
##6B136F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#2A416D
Tritanopia (blue-blind)
#6E2441
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b136f;
/* rgb */ color: rgb(107, 19, 111);
/* oklch */ color: oklch(38.3% 0.160 326.2);
Tailwind
colors: {
  custom: {
    50: '#995d99',
    500: '#6b136f',
    950: '#000000',
  },
}
SCSS
$custom: #6b136f;
$custom-light: #995d99;
$custom-dark: #000000;
JSON
{
  "hex": "#6b136f",
  "rgb": {
    "r": 107,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 297.391,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.38315,
    "c": 0.15983,
    "h": 326.2
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#6B136F
secondary
#3DA638
accent
#EE3A42
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B136F

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

Preview Lab → · Contrast checker → · Palette generator →

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