#6F2386#6F2386

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

Color values

HEX#6F2386
RGBrgb(111, 35, 134)
HSLhsl(286, 59%, 33%)
HSVhsv(286, 74%, 53%)
CMYKcmyk(17.2%, 73.9%, 0%, 47.5%)
CIE-LABlab(30.17, 48.02, -39.80)
CIE-LCHlch(30.17, 62.37, 320.35°)
OKLaboklab(41.91% 0.1206 -0.1119)
OKLCHoklch(41.91% 0.164 317.1)
XYZxyz(11.4590, 6.3033, 23.1627)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2386 #3A8623
analogous
#3E2386 #6F2386 #86236B
triadic
#6F2386 #866F23 #23866F
tetradic
#6F2386 #863E23 #3A8623 #236B86
square
#6F2386 #863E23 #3A8623 #236B86
split-complementary
#6F2386 #6B8623 #23863E
monochromatic
#1F0A25 #471655 #6F2386 #9730B7 #B452D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2386#FFFFFF#000000##FFFFFF
##6F23861.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)
#004289
Deuteranopia (green-blind)
#254984
Tritanopia (blue-blind)
#6E3752
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f2386;
/* rgb */ color: rgb(111, 35, 134);
/* oklch */ color: oklch(41.9% 0.164 317.1);
Tailwind
colors: {
  custom: {
    50: '#9c66aa',
    500: '#6f2386',
    950: '#000000',
  },
}
SCSS
$custom: #6f2386;
$custom-light: #9c66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2386",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 134
  },
  "hsl": {
    "h": 286.061,
    "s": 58.58,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.16447,
    "h": 317.1
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#6F2386
secondary
#67B54F
accent
#E2466A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F2386

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

Preview Lab → · Contrast checker → · Palette generator →

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