#6B2F84#6B2F84

#6B2F84 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.144 H 314.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6B2F84
RGBrgb(107, 47, 132)
HSLhsl(282, 47%, 35%)
HSVhsv(282, 64%, 52%)
CMYKcmyk(18.9%, 64.4%, 0%, 48.2%)
CIE-LABlab(31.41, 41.12, -36.60)
CIE-LCHlch(31.41, 55.05, 318.33°)
OKLaboklab(42.64% 0.1012 -0.1027)
OKLCHoklch(42.64% 0.144 314.6)
XYZxyz(11.2441, 6.8251, 22.5504)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F84 #48842F
analogous
#412F84 #6B2F84 #842F72
triadic
#6B2F84 #846B2F #2F846B
tetradic
#6B2F84 #84412F #48842F #2F7284
square
#6B2F84 #84412F #48842F #2F7284
split-complementary
#6B2F84 #72842F #2F8441
monochromatic
#220F2A #461F57 #6B2F84 #903FB1 #AB65C8

Accessibility & contrast

On white

8.88
#6B2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6B2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F84
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F84#FFFFFF#000000##FFFFFF
##6B2F841.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104687
Deuteranopia (green-blind)
#2D4B82
Tritanopia (blue-blind)
#693F55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2f84;
/* rgb */ color: rgb(107, 47, 132);
/* oklch */ color: oklch(42.6% 0.144 314.6);
Tailwind
colors: {
  custom: {
    50: '#986ba8',
    500: '#6b2f84',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f84;
$custom-light: #986ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f84",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 282.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.1442,
    "h": 314.6
  },
  "luminance": 0.06825
}

Semantic roles & 50–950 ramp

primary
#6B2F84
secondary
#77AF60
accent
#D75178
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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