#6F2B71#6F2B71

#6F2B71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.133 H 326.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#6F2B71
RGBrgb(111, 43, 113)
HSLhsl(298, 45%, 31%)
HSVhsv(298, 62%, 44%)
CMYKcmyk(1.8%, 61.9%, 0%, 55.7%)
CIE-LABlab(30.16, 40.19, -26.59)
CIE-LCHlch(30.16, 48.19, 326.52°)
OKLaboklab(41.49% 0.111 -0.0734)
OKLCHoklch(41.49% 0.133 326.5)
XYZxyz(10.3999, 6.3001, 16.2879)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2B71 #2D712B
analogous
#4C2B71 #6F2B71 #712B50
triadic
#6F2B71 #716F2B #2B716F
tetradic
#6F2B71 #714C2B #2D712B #2B5071
square
#6F2B71 #714C2B #2D712B #2B5071
split-complementary
#6F2B71 #50712B #2B714C
monochromatic
#180918 #431A45 #6F2B71 #9B3C9D #BC57BF

Accessibility & contrast

On white

9.29
#6F2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6F2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2B71
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2B71#FFFFFF#000000##FFFFFF
##6F2B711.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#394A6F
Tritanopia (blue-blind)
#72344A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f2b71;
/* rgb */ color: rgb(111, 43, 113);
/* oklch */ color: oklch(41.5% 0.133 326.5);
Tailwind
colors: {
  custom: {
    50: '#9b699a',
    500: '#6f2b71',
    950: '#000000',
  },
}
SCSS
$custom: #6f2b71;
$custom-light: #9b699a;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2b71",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 298.286,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41492,
    "c": 0.1331,
    "h": 326.5
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#6F2B71
secondary
#57A355
accent
#D55357
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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