#6B2E80#6B2E80

#6B2E80 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 316.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6B2E80
RGBrgb(107, 46, 128)
HSLhsl(285, 47%, 34%)
HSVhsv(285, 64%, 50%)
CMYKcmyk(16.4%, 64.1%, 0%, 49.8%)
CIE-LABlab(30.97, 40.73, -34.80)
CIE-LCHlch(30.97, 53.57, 319.49°)
OKLaboklab(42.24% 0.1025 -0.0974)
OKLCHoklch(42.24% 0.141 316.5)
XYZxyz(10.9361, 6.6387, 21.1232)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E80 #43802E
analogous
#422E80 #6B2E80 #802E6C
triadic
#6B2E80 #806B2E #2E806B
tetradic
#6B2E80 #80422E #43802E #2E6C80
square
#6B2E80 #80422E #43802E #2E6C80
split-complementary
#6B2E80 #6C802E #2E8042
monochromatic
#200E26 #451E53 #6B2E80 #913EAD #AD62C7

Accessibility & contrast

On white

9.02
#6B2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6B2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E80
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E80#FFFFFF#000000##FFFFFF
##6B2E801.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144583
Deuteranopia (green-blind)
#2F4B7E
Tritanopia (blue-blind)
#6A3C52
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b2e80;
/* rgb */ color: rgb(107, 46, 128);
/* oklch */ color: oklch(42.2% 0.141 316.5);
Tailwind
colors: {
  custom: {
    50: '#986ba5',
    500: '#6b2e80',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e80;
$custom-light: #986ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e80",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 284.634,
    "s": 47.126,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42241,
    "c": 0.14146,
    "h": 316.5
  },
  "luminance": 0.06638
}

Semantic roles & 50–950 ramp

primary
#6B2E80
secondary
#71AD5D
accent
#D75173
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6B2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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