#6B2A8A#6B2A8A

#6B2A8A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.158 H 312.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6B2A8A
RGBrgb(107, 42, 138)
HSLhsl(281, 53%, 35%)
HSVhsv(281, 70%, 54%)
CMYKcmyk(22.5%, 69.6%, 0%, 45.9%)
CIE-LABlab(30.92, 44.91, -41.10)
CIE-LCHlch(30.92, 60.88, 317.53°)
OKLaboklab(42.41% 0.1071 -0.1159)
OKLCHoklch(42.41% 0.158 312.7)
XYZxyz(11.4780, 6.6170, 24.7124)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A8A #498A2A
analogous
#3B2A8A #6B2A8A #8A2A79
triadic
#6B2A8A #8A6B2A #2A8A6B
tetradic
#6B2A8A #8A3B2A #498A2A #2A798A
square
#6B2A8A #8A3B2A #498A2A #2A798A
split-complementary
#6B2A8A #798A2A #2A8A3B
monochromatic
#220D2C #471C5B #6B2A8A #8F38B9 #AB60CF

Accessibility & contrast

On white

9.04
#6B2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6B2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2A8A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A8A#FFFFFF#000000##FFFFFF
##6B2A8A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#683E56
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6b2a8a;
/* rgb */ color: rgb(107, 42, 138);
/* oklch */ color: oklch(42.4% 0.158 312.7);
Tailwind
colors: {
  custom: {
    50: '#9969ad',
    500: '#6b2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a8a;
$custom-light: #9969ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a8a",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 280.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42414,
    "c": 0.15779,
    "h": 312.7
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#6B2A8A
secondary
#78B45B
accent
#DD4B7A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6B2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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