#6F2D8D#6F2D8D

#6F2D8D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.158 H 313.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6F2D8D
RGBrgb(111, 45, 141)
HSLhsl(281, 52%, 36%)
HSVhsv(281, 68%, 55%)
CMYKcmyk(21.3%, 68.1%, 0%, 44.7%)
CIE-LABlab(32.21, 45.10, -40.85)
CIE-LCHlch(32.21, 60.85, 317.83°)
OKLaboklab(43.53% 0.1087 -0.115)
OKLCHoklch(43.53% 0.158 313.4)
XYZxyz(12.3008, 7.1797, 25.9320)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2D8D #4B8D2D
analogous
#3F2D8D #6F2D8D #8D2D7B
triadic
#6F2D8D #8D6F2D #2D8D6F
tetradic
#6F2D8D #8D3F2D #4B8D2D #2D7B8D
square
#6F2D8D #8D3F2D #4B8D2D #2D7B8D
split-complementary
#6F2D8D #7B8D2D #2D8D3F
monochromatic
#260F30 #4A1E5F #6F2D8D #943CBB #AE66CE

Accessibility & contrast

On white

8.62
#6F2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6F2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2D8D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2D8D#FFFFFF#000000##FFFFFF
##6F2D8D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#274D8B
Tritanopia (blue-blind)
#6C4059
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f2d8d;
/* rgb */ color: rgb(111, 45, 141);
/* oklch */ color: oklch(43.5% 0.158 313.4);
Tailwind
colors: {
  custom: {
    50: '#9b6baf',
    500: '#6f2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6f2d8d;
$custom-light: #9b6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2d8d",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 281.25,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43529,
    "c": 0.15827,
    "h": 313.4
  },
  "luminance": 0.07179
}

Semantic roles & 50–950 ramp

primary
#6F2D8D
secondary
#7BB561
accent
#DB4D79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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