#6B2276#6B2276

#6B2276 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.149 H 322.2°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6B2276
RGBrgb(107, 34, 118)
HSLhsl(292, 55%, 30%)
HSVhsv(292, 71%, 46%)
CMYKcmyk(9.3%, 71.2%, 0%, 53.7%)
CIE-LABlab(28.32, 44.25, -32.72)
CIE-LCHlch(28.32, 55.03, 323.52°)
OKLaboklab(40.13% 0.1175 -0.0913)
OKLCHoklch(40.13% 0.149 322.2)
XYZxyz(9.9051, 5.5784, 17.6910)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2276 #2D7622
analogous
#412276 #6B2276 #762257
triadic
#6B2276 #766B22 #22766B
tetradic
#6B2276 #764122 #2D7622 #225776
square
#6B2276 #764122 #2D7622 #225776
split-complementary
#6B2276 #577622 #227641
monochromatic
#160718 #401446 #6B2276 #9630A6 #B948CA

Accessibility & contrast

On white

9.93
#6B2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2276
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2276#FFFFFF#000000##FFFFFF
##6B22761.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073D78
Deuteranopia (green-blind)
#2D4674
Tritanopia (blue-blind)
#6C3049
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b2276;
/* rgb */ color: rgb(107, 34, 118);
/* oklch */ color: oklch(40.1% 0.149 322.2);
Tailwind
colors: {
  custom: {
    50: '#98649e',
    500: '#6b2276',
    950: '#000000',
  },
}
SCSS
$custom: #6b2276;
$custom-light: #98649e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2276",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 292.143,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4013,
    "c": 0.14882,
    "h": 322.2
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#6B2276
secondary
#57A94B
accent
#DF495D
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2276

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

Preview Lab → · Contrast checker → · Palette generator →

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