#6F2C83#6F2C83

#6F2C83 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.149 H 317.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6F2C83
RGBrgb(111, 44, 131)
HSLhsl(286, 50%, 34%)
HSVhsv(286, 66%, 51%)
CMYKcmyk(15.3%, 66.4%, 0%, 48.6%)
CIE-LABlab(31.39, 43.39, -35.96)
CIE-LCHlch(31.39, 56.35, 320.35°)
OKLaboklab(42.73% 0.1104 -0.1007)
OKLCHoklch(42.73% 0.149 317.6)
XYZxyz(11.5524, 6.8200, 22.1762)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2C83 #40832C
analogous
#442C83 #6F2C83 #832C6C
triadic
#6F2C83 #836F2C #2C836F
tetradic
#6F2C83 #83442C #40832C #2C6C83
square
#6F2C83 #83442C #40832C #2C6C83
split-complementary
#6F2C83 #6C832C #2C8344
monochromatic
#210D27 #481D55 #6F2C83 #963BB1 #B160CA

Accessibility & contrast

On white

8.88
#6F2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6F2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2C83
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2C83#FFFFFF#000000##FFFFFF
##6F2C831.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4686
Deuteranopia (green-blind)
#2F4C81
Tritanopia (blue-blind)
#6E3C53
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f2c83;
/* rgb */ color: rgb(111, 44, 131);
/* oklch */ color: oklch(42.7% 0.149 317.6);
Tailwind
colors: {
  custom: {
    50: '#9b6aa7',
    500: '#6f2c83',
    950: '#000000',
  },
}
SCSS
$custom: #6f2c83;
$custom-light: #9b6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2c83",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 286.207,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42732,
    "c": 0.14939,
    "h": 317.6
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6F2C83
secondary
#6FB05B
accent
#D94F6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6F2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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