#6B2389#6B2389

#6B2389 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.166 H 313.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#6B2389
RGBrgb(107, 35, 137)
HSLhsl(282, 59%, 34%)
HSVhsv(282, 74%, 54%)
CMYKcmyk(21.9%, 74.5%, 0%, 46.3%)
CIE-LABlab(29.75, 47.78, -42.37)
CIE-LCHlch(29.75, 63.86, 318.44°)
OKLaboklab(41.56% 0.1149 -0.1195)
OKLCHoklch(41.56% 0.166 313.9)
XYZxyz(11.1790, 6.1344, 24.2572)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2389 #418923
analogous
#382389 #6B2389 #892374
triadic
#6B2389 #896B23 #23896B
tetradic
#6B2389 #893823 #418923 #237489
square
#6B2389 #893823 #418923 #237489
split-complementary
#6B2389 #748923 #238938
monochromatic
#1F0A28 #451758 #6B2389 #912FBA #AE53D3

Accessibility & contrast

On white

9.43
#6B2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6B2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2389
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2389#FFFFFF#000000##FFFFFF
##6B23891.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#1C4887
Tritanopia (blue-blind)
#683954
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b2389;
/* rgb */ color: rgb(107, 35, 137);
/* oklch */ color: oklch(41.6% 0.166 313.9);
Tailwind
colors: {
  custom: {
    50: '#9965ac',
    500: '#6b2389',
    950: '#000000',
  },
}
SCSS
$custom: #6b2389;
$custom-light: #9965ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2389",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 282.353,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41557,
    "c": 0.16582,
    "h": 313.9
  },
  "luminance": 0.06134
}

Semantic roles & 50–950 ramp

primary
#6B2389
secondary
#6FB751
accent
#E24574
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B2389

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

Preview Lab → · Contrast checker → · Palette generator →

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