#6B2A76#6B2A76

#6B2A76 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.1% C 0.137 H 321.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6B2A76
RGBrgb(107, 42, 118)
HSLhsl(291, 48%, 31%)
HSVhsv(291, 64%, 46%)
CMYKcmyk(9.3%, 64.4%, 0%, 53.7%)
CIE-LABlab(29.64, 40.58, -30.62)
CIE-LCHlch(29.64, 50.84, 322.96°)
OKLaboklab(41.08% 0.1076 -0.0852)
OKLCHoklch(41.08% 0.137 321.6)
XYZxyz(10.1610, 6.0902, 17.7763)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A76 #35762A
analogous
#452A76 #6B2A76 #762A5B
triadic
#6B2A76 #766B2A #2A766B
tetradic
#6B2A76 #76452A #35762A #2A5B76
square
#6B2A76 #76452A #35762A #2A5B76
split-complementary
#6B2A76 #5B762A #2A7645
monochromatic
#190A1C #421A49 #6B2A76 #943AA3 #B457C3

Accessibility & contrast

On white

9.47
#6B2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2A76
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A76#FFFFFF#000000##FFFFFF
##6B2A761.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194178
Deuteranopia (green-blind)
#334874
Tritanopia (blue-blind)
#6C364C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6b2a76;
/* rgb */ color: rgb(107, 42, 118);
/* oklch */ color: oklch(41.1% 0.137 321.6);
Tailwind
colors: {
  custom: {
    50: '#98689e',
    500: '#6b2a76',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a76;
$custom-light: #98689e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a76",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 291.316,
    "s": 47.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4108,
    "c": 0.13729,
    "h": 321.6
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#6B2A76
secondary
#60A854
accent
#D75164
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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