#6B286F#6B286F

#6B286F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.4% C 0.134 H 325.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6B286F
RGBrgb(107, 40, 111)
HSLhsl(297, 47%, 30%)
HSVhsv(297, 64%, 44%)
CMYKcmyk(3.6%, 64%, 0%, 56.5%)
CIE-LABlab(28.88, 40.14, -27.37)
CIE-LCHlch(28.88, 48.58, 325.71°)
OKLaboklab(40.4% 0.1099 -0.0758)
OKLCHoklch(40.4% 0.134 325.4)
XYZxyz(9.6912, 5.7917, 15.6433)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B286F #2C6F28
analogous
#48286F #6B286F #6F2850
triadic
#6B286F #6F6B28 #286F6B
tetradic
#6B286F #6F4828 #2C6F28 #28506F
square
#6B286F #6F4828 #2C6F28 #28506F
split-complementary
#6B286F #506F28 #286F48
monochromatic
#160816 #401842 #6B286F #96389C #BA51C0

Accessibility & contrast

On white

9.73
#6B286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6B286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B286F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B286F#FFFFFF#000000##FFFFFF
##6B286F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#35476D
Tritanopia (blue-blind)
#6E3247
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b286f;
/* rgb */ color: rgb(107, 40, 111);
/* oklch */ color: oklch(40.4% 0.134 325.4);
Tailwind
colors: {
  custom: {
    50: '#986798',
    500: '#6b286f',
    950: '#000000',
  },
}
SCSS
$custom: #6b286f;
$custom-light: #986798;
$custom-dark: #000000;
JSON
{
  "hex": "#6b286f",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 296.62,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.1335,
    "h": 325.4
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#6B286F
secondary
#56A151
accent
#D75159
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B286F

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

Preview Lab → · Contrast checker → · Palette generator →

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