#6B2B8A#6B2B8A

#6B2B8A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.5% C 0.156 H 312.6°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6B2B8A
RGBrgb(107, 43, 138)
HSLhsl(280, 52%, 35%)
HSVhsv(280, 69%, 54%)
CMYKcmyk(22.5%, 68.8%, 0%, 45.9%)
CIE-LABlab(31.09, 44.43, -40.83)
CIE-LCHlch(31.09, 60.34, 317.42°)
OKLaboklab(42.54% 0.1059 -0.1151)
OKLCHoklch(42.54% 0.156 312.6)
XYZxyz(11.5139, 6.6889, 24.7244)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2B8A #4A8A2B
analogous
#3B2B8A #6B2B8A #8A2B79
triadic
#6B2B8A #8A6B2B #2B8A6B
tetradic
#6B2B8A #8A3B2B #4A8A2B #2B798A
square
#6B2B8A #8A3B2B #4A8A2B #2B798A
split-complementary
#6B2B8A #798A2B #2B8A3B
monochromatic
#230E2D #471C5B #6B2B8A #8F3AB9 #AB61CE

Accessibility & contrast

On white

8.98
#6B2B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6B2B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2B8A
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2B8A#FFFFFF#000000##FFFFFF
##6B2B8A1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#234B88
Tritanopia (blue-blind)
#683E57
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b2b8a;
/* rgb */ color: rgb(107, 43, 138);
/* oklch */ color: oklch(42.5% 0.156 312.6);
Tailwind
colors: {
  custom: {
    50: '#9969ad',
    500: '#6b2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b2b8a;
$custom-light: #9969ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2b8a",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 280.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.15641,
    "h": 312.6
  },
  "luminance": 0.06689
}

Semantic roles & 50–950 ramp

primary
#6B2B8A
secondary
#79B45D
accent
#DC4C7B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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