#6F2E87#6F2E87

#6F2E87 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.151 H 315.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6F2E87
RGBrgb(111, 46, 135)
HSLhsl(284, 49%, 35%)
HSVhsv(284, 66%, 53%)
CMYKcmyk(17.8%, 65.9%, 0%, 47.1%)
CIE-LABlab(32.00, 43.29, -37.48)
CIE-LCHlch(32.00, 57.26, 319.11°)
OKLaboklab(43.25% 0.1078 -0.1052)
OKLCHoklch(43.25% 0.151 315.7)
XYZxyz(11.9050, 7.0832, 23.6571)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2E87 #46872E
analogous
#422E87 #6F2E87 #872E72
triadic
#6F2E87 #876F2E #2E876F
tetradic
#6F2E87 #87422E #46872E #2E7287
square
#6F2E87 #87422E #46872E #2E7287
split-complementary
#6F2E87 #72872E #2E8742
monochromatic
#240F2C #491E59 #6F2E87 #953EB5 #AF65CA

Accessibility & contrast

On white

8.69
#6F2E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6F2E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2E87
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2E87#FFFFFF#000000##FFFFFF
##6F2E871.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B478A
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#6D3E56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f2e87;
/* rgb */ color: rgb(111, 46, 135);
/* oklch */ color: oklch(43.2% 0.151 315.7);
Tailwind
colors: {
  custom: {
    50: '#9b6baa',
    500: '#6f2e87',
    950: '#000000',
  },
}
SCSS
$custom: #6f2e87;
$custom-light: #9b6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2e87",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 283.82,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43248,
    "c": 0.15058,
    "h": 315.7
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#6F2E87
secondary
#76B160
accent
#D94F74
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6F2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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