#6F2D8C#6F2D8C

#6F2D8C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.157 H 313.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6F2D8C
RGBrgb(111, 45, 140)
HSLhsl(282, 51%, 36%)
HSVhsv(282, 68%, 55%)
CMYKcmyk(20.7%, 67.9%, 0%, 45.1%)
CIE-LABlab(32.15, 44.88, -40.34)
CIE-LCHlch(32.15, 60.34, 318.05°)
OKLaboklab(43.46% 0.1088 -0.1135)
OKLCHoklch(43.46% 0.157 313.8)
XYZxyz(12.2268, 7.1501, 25.5419)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D8C #4A8C2D
analogous
#402D8C #6F2D8C #8C2D7A
triadic
#6F2D8C #8C6F2D #2D8C6F
tetradic
#6F2D8C #8C402D #4A8C2D #2D7A8C
square
#6F2D8C #8C402D #4A8C2D #2D7A8C
split-complementary
#6F2D8C #7A8C2D #2D8C40
monochromatic
#260F2F #4A1E5E #6F2D8C #943CBA #AE66CE

Accessibility & contrast

On white

8.64
#6F2D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6F2D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2D8C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D8C#FFFFFF#000000##FFFFFF
##6F2D8C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#6C4058
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2d8c;
/* rgb */ color: rgb(111, 45, 140);
/* oklch */ color: oklch(43.5% 0.157 313.8);
Tailwind
colors: {
  custom: {
    50: '#9b6bae',
    500: '#6f2d8c',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d8c;
$custom-light: #9b6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d8c",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 140
  },
  "hsl": {
    "h": 281.684,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4346,
    "c": 0.15723,
    "h": 313.8
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#6F2D8C
secondary
#7AB460
accent
#DB4D78
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F2D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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