#6F286F#6F286F

#6F286F is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.0% C 0.136 H 327.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#6F286F
RGBrgb(111, 40, 111)
HSLhsl(300, 47%, 30%)
HSVhsv(300, 64%, 44%)
CMYKcmyk(0%, 64%, 0%, 56.5%)
CIE-LABlab(29.53, 41.24, -26.31)
CIE-LCHlch(29.53, 48.92, 327.47°)
OKLaboklab(41% 0.1149 -0.0726)
OKLCHoklch(41% 0.136 327.7)
XYZxyz(10.1834, 6.0454, 15.6664)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F286F #286F28
analogous
#4C286F #6F286F #6F284C
triadic
#6F286F #6F6F28 #286F6F
tetradic
#6F286F #6F4C28 #286F28 #284C6F
square
#6F286F #6F4C28 #286F28 #284C6F
split-complementary
#6F286F #4C6F28 #286F4C
monochromatic
#160816 #421842 #6F286F #9C389C #C051C0

Accessibility & contrast

On white

9.51
#6F286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F286F
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F286F#FFFFFF#000000##FFFFFF
##6F286F1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4071
Deuteranopia (green-blind)
#39496D
Tritanopia (blue-blind)
#723147
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f286f;
/* rgb */ color: rgb(111, 40, 111);
/* oklch */ color: oklch(41.0% 0.136 327.7);
Tailwind
colors: {
  custom: {
    50: '#9b6798',
    500: '#6f286f',
    950: '#000000',
  },
}
SCSS
$custom: #6f286f;
$custom-light: #9b6798;
$custom-dark: #000000;
JSON
{
  "hex": "#6f286f",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 300,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40997,
    "c": 0.13588,
    "h": 327.7
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#6F286F
secondary
#51A151
accent
#D75151
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6F286F

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

Preview Lab → · Contrast checker → · Palette generator →

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