#6B287C#6B287C

#6B287C is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.146 H 318.9°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#6B287C
RGBrgb(107, 40, 124)
HSLhsl(288, 51%, 32%)
HSVhsv(288, 68%, 49%)
CMYKcmyk(13.7%, 67.7%, 0%, 51.4%)
CIE-LABlab(29.66, 42.79, -34.38)
CIE-LCHlch(29.66, 54.89, 321.22°)
OKLaboklab(41.22% 0.1102 -0.0962)
OKLCHoklch(41.22% 0.146 318.9)
XYZxyz(10.4598, 6.0991, 19.6911)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B287C #397C28
analogous
#41287C #6B287C #7C2863
triadic
#6B287C #7C6B28 #287C6B
tetradic
#6B287C #7C4128 #397C28 #28637C
square
#6B287C #7C4128 #397C28 #28637C
split-complementary
#6B287C #637C28 #287C41
monochromatic
#1B0A1F #43194E #6B287C #9337AA #B156C8

Accessibility & contrast

On white

9.46
#6B287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6B287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B287C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B287C#FFFFFF#000000##FFFFFF
##6B287C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B417F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#6B374E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b287c;
/* rgb */ color: rgb(107, 40, 124);
/* oklch */ color: oklch(41.2% 0.146 318.9);
Tailwind
colors: {
  custom: {
    50: '#9867a2',
    500: '#6b287c',
    950: '#000000',
  },
}
SCSS
$custom: #6b287c;
$custom-light: #9867a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b287c",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 287.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41215,
    "c": 0.14629,
    "h": 318.9
  },
  "luminance": 0.06099
}

Semantic roles & 50–950 ramp

primary
#6B287C
secondary
#65AD52
accent
#DB4D6A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B287C

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

Preview Lab → · Contrast checker → · Palette generator →

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