#6B288B#6B288B

#6B288B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.162 H 312.6°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6B288B
RGBrgb(107, 40, 139)
HSLhsl(281, 55%, 35%)
HSVhsv(281, 71%, 55%)
CMYKcmyk(23%, 71.2%, 0%, 45.5%)
CIE-LABlab(30.66, 46.05, -42.14)
CIE-LCHlch(30.66, 62.42, 317.54°)
OKLaboklab(42.25% 0.1093 -0.1189)
OKLCHoklch(42.25% 0.162 312.6)
XYZxyz(11.4816, 6.5078, 25.0724)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B288B #488B28
analogous
#39288B #6B288B #8B2879
triadic
#6B288B #8B6B28 #288B6B
tetradic
#6B288B #8B3928 #488B28 #28798B
square
#6B288B #8B3928 #488B28 #28798B
split-complementary
#6B288B #798B28 #288B39
monochromatic
#220D2C #461A5B #6B288B #9036BB #AB5DD0

Accessibility & contrast

On white

9.12
#6B288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6B288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B288B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B288B#FFFFFF#000000##FFFFFF
##6B288B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#673D56
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b288b;
/* rgb */ color: rgb(107, 40, 139);
/* oklch */ color: oklch(42.3% 0.162 312.6);
Tailwind
colors: {
  custom: {
    50: '#9968ad',
    500: '#6b288b',
    950: '#000000',
  },
}
SCSS
$custom: #6b288b;
$custom-light: #9968ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b288b",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 280.606,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.16151,
    "h": 312.6
  },
  "luminance": 0.06507
}

Semantic roles & 50–950 ramp

primary
#6B288B
secondary
#77B659
accent
#DF4979
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B288B

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

Preview Lab → · Contrast checker → · Palette generator →

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