#6B2E85#6B2E85

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

Color values

HEX#6B2E85
RGBrgb(107, 46, 133)
HSLhsl(282, 49%, 35%)
HSVhsv(282, 65%, 52%)
CMYKcmyk(19.5%, 65.4%, 0%, 47.8%)
CIE-LABlab(31.29, 41.85, -37.41)
CIE-LCHlch(31.29, 56.13, 318.20°)
OKLaboklab(42.57% 0.1025 -0.1051)
OKLCHoklch(42.57% 0.147 314.3)
XYZxyz(11.2733, 6.7736, 22.8993)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E85 #48852E
analogous
#402E85 #6B2E85 #852E73
triadic
#6B2E85 #856B2E #2E856B
tetradic
#6B2E85 #85402E #48852E #2E7385
square
#6B2E85 #85402E #48852E #2E7385
split-complementary
#6B2E85 #73852E #2E8540
monochromatic
#220F2A #461E58 #6B2E85 #903EB2 #AB64C9

Accessibility & contrast

On white

8.92
#6B2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6B2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E85
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E85#FFFFFF#000000##FFFFFF
##6B2E851.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4688
Deuteranopia (green-blind)
#2B4B83
Tritanopia (blue-blind)
#693E55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6b2e85;
/* rgb */ color: rgb(107, 46, 133);
/* oklch */ color: oklch(42.6% 0.147 314.3);
Tailwind
colors: {
  custom: {
    50: '#986ba9',
    500: '#6b2e85',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e85;
$custom-light: #986ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e85",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 282.069,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.14679,
    "h": 314.3
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#6B2E85
secondary
#77B05F
accent
#D85078
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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