#6B288C#6B288C

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

Color values

HEX#6B288C
RGBrgb(107, 40, 140)
HSLhsl(280, 56%, 35%)
HSVhsv(280, 71%, 55%)
CMYKcmyk(23.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(30.73, 46.27, -42.65)
CIE-LCHlch(30.73, 62.93, 317.34°)
OKLaboklab(42.32% 0.1092 -0.1204)
OKLCHoklch(42.32% 0.163 312.2)
XYZxyz(11.5550, 6.5371, 25.4590)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B288C #498C28
analogous
#39288C #6B288C #8C287B
triadic
#6B288C #8C6B28 #288C6B
tetradic
#6B288C #8C3928 #498C28 #287B8C
square
#6B288C #8C3928 #498C28 #287B8C
split-complementary
#6B288C #7B8C28 #288C39
monochromatic
#220D2D #471A5C #6B288C #8F36BC #AB5ED1

Accessibility & contrast

On white

9.10
#6B288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6B288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B288C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B288C#FFFFFF#000000##FFFFFF
##6B288C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#673D57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6b288c;
/* rgb */ color: rgb(107, 40, 140);
/* oklch */ color: oklch(42.3% 0.163 312.2);
Tailwind
colors: {
  custom: {
    50: '#9968ae',
    500: '#6b288c',
    950: '#000000',
  },
}
SCSS
$custom: #6b288c;
$custom-light: #9968ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6b288c",
  "rgb": {
    "r": 107,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 280.2,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42322,
    "c": 0.16252,
    "h": 312.2
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#6B288C
secondary
#78B65A
accent
#DF497A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B288C

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

Preview Lab → · Contrast checker → · Palette generator →

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