#6D138D#6D138D

#6D138D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.8% C 0.186 H 314.5°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6D138D
RGBrgb(109, 19, 141)
HSLhsl(284, 76%, 31%)
HSVhsv(284, 87%, 55%)
CMYKcmyk(22.7%, 86.5%, 0%, 44.7%)
CIE-LABlab(28.49, 54.44, -46.88)
CIE-LCHlch(28.49, 71.84, 319.27°)
OKLaboklab(40.83% 0.1303 -0.1326)
OKLCHoklch(40.83% 0.186 314.5)
XYZxyz(11.3464, 5.6405, 25.6852)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D138D #338D13
analogous
#30138D #6D138D #8D1370
triadic
#6D138D #8D6D13 #138D6D
tetradic
#6D138D #8D3013 #338D13 #13708D
square
#6D138D #8D3013 #338D13 #13708D
split-complementary
#6D138D #708D13 #138D30
monochromatic
#1A0421 #430C57 #6D138D #971AC3 #B636E4

Accessibility & contrast

On white

9.87
#6D138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6D138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D138D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D138D#FFFFFF#000000##FFFFFF
##6D138D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#03458B
Tritanopia (blue-blind)
#6A3353
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6d138d;
/* rgb */ color: rgb(109, 19, 141);
/* oklch */ color: oklch(40.8% 0.186 314.5);
Tailwind
colors: {
  custom: {
    50: '#9b5faf',
    500: '#6d138d',
    950: '#000000',
  },
}
SCSS
$custom: #6d138d;
$custom-light: #9b5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d138d",
  "rgb": {
    "r": 109,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 284.262,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.18593,
    "h": 314.5
  },
  "luminance": 0.0564
}

Semantic roles & 50–950 ramp

primary
#6D138D
secondary
#5EC13B
accent
#F33567
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6D138D

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

Preview Lab → · Contrast checker → · Palette generator →

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