#6B2F79#6B2F79

#6B2F79 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 41.9% C 0.132 H 319.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6B2F79
RGBrgb(107, 47, 121)
HSLhsl(289, 44%, 33%)
HSVhsv(289, 61%, 47%)
CMYKcmyk(11.6%, 61.2%, 0%, 52.5%)
CIE-LABlab(30.74, 38.70, -30.78)
CIE-LCHlch(30.74, 49.45, 321.51°)
OKLaboklab(41.94% 0.101 -0.0857)
OKLCHoklch(41.94% 0.132 319.7)
XYZxyz(10.5307, 6.5398, 18.7931)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2F79 #3D792F
analogous
#462F79 #6B2F79 #792F62
triadic
#6B2F79 #796B2F #2F796B
tetradic
#6B2F79 #79462F #3D792F #2F6279
square
#6B2F79 #79462F #3D792F #2F6279
split-complementary
#6B2F79 #62792F #2F7946
monochromatic
#1D0D21 #441E4D #6B2F79 #9240A5 #AF61C2

Accessibility & contrast

On white

9.10
#6B2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B2F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2F79
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2F79#FFFFFF#000000##FFFFFF
##6B2F791.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b2f79;
/* rgb */ color: rgb(107, 47, 121);
/* oklch */ color: oklch(41.9% 0.132 319.7);
Tailwind
colors: {
  custom: {
    50: '#986ba0',
    500: '#6b2f79',
    950: '#000000',
  },
}
SCSS
$custom: #6b2f79;
$custom-light: #986ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2f79",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 288.649,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.13247,
    "h": 319.7
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#6B2F79
secondary
#6AA85B
accent
#D4546C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #6B2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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