#6B2A72#6B2A72

#6B2A72 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 40.8% C 0.133 H 323.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#6B2A72
RGBrgb(107, 42, 114)
HSLhsl(294, 46%, 31%)
HSVhsv(294, 63%, 45%)
CMYKcmyk(6.1%, 63.2%, 0%, 55.3%)
CIE-LABlab(29.41, 39.77, -28.45)
CIE-LCHlch(29.41, 48.90, 324.42°)
OKLaboklab(40.84% 0.1074 -0.0789)
OKLCHoklch(40.84% 0.133 323.7)
XYZxyz(9.9284, 5.9972, 16.5509)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2A72 #31722A
analogous
#472A72 #6B2A72 #722A55
triadic
#6B2A72 #726B2A #2A726B
tetradic
#6B2A72 #72472A #31722A #2A5572
square
#6B2A72 #72472A #31722A #2A5572
split-complementary
#6B2A72 #55722A #2A7247
monochromatic
#170919 #411A45 #6B2A72 #953A9F #B656C1

Accessibility & contrast

On white

9.55
#6B2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6B2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2A72
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2A72#FFFFFF#000000##FFFFFF
##6B2A721.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#6D344A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b2a72;
/* rgb */ color: rgb(107, 42, 114);
/* oklch */ color: oklch(40.8% 0.133 323.7);
Tailwind
colors: {
  custom: {
    50: '#98689b',
    500: '#6b2a72',
    950: '#000000',
  },
}
SCSS
$custom: #6b2a72;
$custom-light: #98689b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2a72",
  "rgb": {
    "r": 107,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 294.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40835,
    "c": 0.13331,
    "h": 323.7
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#6B2A72
secondary
#5CA454
accent
#D6525F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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