#6F286B#6F286B

#6F286B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.132 H 330.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6F286B
RGBrgb(111, 40, 107)
HSLhsl(303, 47%, 30%)
HSVhsv(303, 64%, 44%)
CMYKcmyk(0%, 64%, 3.6%, 56.5%)
CIE-LABlab(29.31, 40.49, -24.09)
CIE-LCHlch(29.31, 47.12, 329.25°)
OKLaboklab(40.77% 0.1145 -0.0662)
OKLCHoklch(40.77% 0.132 330)
XYZxyz(9.9681, 5.9593, 14.5323)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F286B #286F2C
analogous
#50286F #6F286B #6F2848
triadic
#6F286B #6B6F28 #286B6F
tetradic
#6F286B #6F5028 #286F2C #28486F
square
#6F286B #6F5028 #286F2C #28486F
split-complementary
#6F286B #486F28 #286F50
monochromatic
#160816 #421840 #6F286B #9C3896 #C051BA

Accessibility & contrast

On white

9.58
#6F286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6F286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F286B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F286B#FFFFFF#000000##FFFFFF
##6F286B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#3B4969
Tritanopia (blue-blind)
#732F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f286b;
/* rgb */ color: rgb(111, 40, 107);
/* oklch */ color: oklch(40.8% 0.132 330.0);
Tailwind
colors: {
  custom: {
    50: '#9b6795',
    500: '#6f286b',
    950: '#000000',
  },
}
SCSS
$custom: #6f286b;
$custom-light: #9b6795;
$custom-dark: #000000;
JSON
{
  "hex": "#6f286b",
  "rgb": {
    "r": 111,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 303.38,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.13223,
    "h": 330
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#6F286B
secondary
#51A156
accent
#D75951
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060D
muted
#7E7A7E

Preview Lab

Preview with #6F286B

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

Preview Lab → · Contrast checker → · Palette generator →

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