#6B2E79#6B2E79

#6B2E79 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.8% C 0.134 H 319.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6B2E79
RGBrgb(107, 46, 121)
HSLhsl(289, 45%, 33%)
HSVhsv(289, 62%, 47%)
CMYKcmyk(11.6%, 62%, 0%, 52.5%)
CIE-LABlab(30.55, 39.22, -31.08)
CIE-LCHlch(30.55, 50.04, 321.60°)
OKLaboklab(41.8% 0.1024 -0.0866)
OKLCHoklch(41.8% 0.134 319.8)
XYZxyz(10.4912, 6.4607, 18.7799)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2E79 #3C792E
analogous
#452E79 #6B2E79 #792E61
triadic
#6B2E79 #796B2E #2E796B
tetradic
#6B2E79 #79452E #3C792E #2E6179
square
#6B2E79 #79452E #3C792E #2E6179
split-complementary
#6B2E79 #61792E #2E7945
monochromatic
#1D0C20 #441D4D #6B2E79 #923FA5 #B05FC2

Accessibility & contrast

On white

9.16
#6B2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6B2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2E79
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2E79#FFFFFF#000000##FFFFFF
##6B2E791.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#344A77
Tritanopia (blue-blind)
#6B3A4F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b2e79;
/* rgb */ color: rgb(107, 46, 121);
/* oklch */ color: oklch(41.8% 0.134 319.8);
Tailwind
colors: {
  custom: {
    50: '#986ba0',
    500: '#6b2e79',
    950: '#000000',
  },
}
SCSS
$custom: #6b2e79;
$custom-light: #986ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2e79",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 288.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41797,
    "c": 0.13408,
    "h": 319.8
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#6B2E79
secondary
#69A95A
accent
#D5536B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6B2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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