#6D2387#6D2387

#6D2387 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.165 H 315.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#6D2387
RGBrgb(109, 35, 135)
HSLhsl(284, 59%, 33%)
HSVhsv(284, 74%, 53%)
CMYKcmyk(19.3%, 74.1%, 0%, 47.1%)
CIE-LABlab(29.92, 47.79, -40.83)
CIE-LCHlch(29.92, 62.86, 319.49°)
OKLaboklab(41.7% 0.1178 -0.115)
OKLCHoklch(41.7% 0.165 315.7)
XYZxyz(11.2802, 6.2030, 23.5201)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2387 #3D8723
analogous
#3B2387 #6D2387 #87236F
triadic
#6D2387 #876D23 #23876D
tetradic
#6D2387 #873B23 #3D8723 #236F87
square
#6D2387 #873B23 #3D8723 #236F87
split-complementary
#6D2387 #6F8723 #23873B
monochromatic
#1F0A26 #461656 #6D2387 #9430B8 #B152D2

Accessibility & contrast

On white

9.37
#6D2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2387
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2387#FFFFFF#000000##FFFFFF
##6D23871.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#6B3853
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d2387;
/* rgb */ color: rgb(109, 35, 135);
/* oklch */ color: oklch(41.7% 0.165 315.7);
Tailwind
colors: {
  custom: {
    50: '#9a65aa',
    500: '#6d2387',
    950: '#000000',
  },
}
SCSS
$custom: #6d2387;
$custom-light: #9a65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2387",
  "rgb": {
    "r": 109,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 284.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41696,
    "c": 0.16463,
    "h": 315.7
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#6D2387
secondary
#6AB650
accent
#E2466E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6D2387

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

Preview Lab → · Contrast checker → · Palette generator →

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