#6F2875#6F2875

#6F2875 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 324.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#6F2875
RGBrgb(111, 40, 117)
HSLhsl(295, 49%, 31%)
HSVhsv(295, 66%, 46%)
CMYKcmyk(5.1%, 65.8%, 0%, 54.1%)
CIE-LABlab(29.87, 42.40, -29.59)
CIE-LCHlch(29.87, 51.70, 325.09°)
OKLaboklab(41.36% 0.1152 -0.0821)
OKLCHoklch(41.36% 0.141 324.5)
XYZxyz(10.5250, 6.1821, 17.4651)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2875 #2E7528
analogous
#482875 #6F2875 #752854
triadic
#6F2875 #756F28 #28756F
tetradic
#6F2875 #754828 #2E7528 #285475
square
#6F2875 #754828 #2E7528 #285475
split-complementary
#6F2875 #547528 #287548
monochromatic
#18091A #441847 #6F2875 #9A38A3 #BB53C4

Accessibility & contrast

On white

9.39
#6F2875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6F2875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2875
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2875#FFFFFF#000000##FFFFFF
##6F28751.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4177
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#71334B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f2875;
/* rgb */ color: rgb(111, 40, 117);
/* oklch */ color: oklch(41.4% 0.141 324.5);
Tailwind
colors: {
  custom: {
    50: '#9b689d',
    500: '#6f2875',
    950: '#000000',
  },
}
SCSS
$custom: #6f2875;
$custom-light: #9b689d;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2875",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 295.325,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41355,
    "c": 0.14149,
    "h": 324.5
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#6F2875
secondary
#58A752
accent
#D94F5A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F2875

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

Preview Lab → · Contrast checker → · Palette generator →

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