#6B1876#6B1876

#6B1876 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.161 H 322.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#6B1876
RGBrgb(107, 24, 118)
HSLhsl(293, 66%, 28%)
HSVhsv(293, 80%, 46%)
CMYKcmyk(9.3%, 79.7%, 0%, 53.7%)
CIE-LABlab(26.98, 48.06, -34.86)
CIE-LCHlch(26.98, 59.37, 324.05°)
OKLaboklab(39.17% 0.1279 -0.0975)
OKLCHoklch(39.17% 0.161 322.7)
XYZxyz(9.6597, 5.0876, 17.6092)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1876 #237618
analogous
#3C1876 #6B1876 #761852
triadic
#6B1876 #766B18 #18766B
tetradic
#6B1876 #763C18 #237618 #185276
square
#6B1876 #763C18 #237618 #185276
split-complementary
#6B1876 #527618 #18763C
monochromatic
#170519 #3D0E43 #6B1876 #9922A9 #C233D5

Accessibility & contrast

On white

10.41
#6B1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6B1876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1876
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1876#FFFFFF#000000##FFFFFF
##6B18761.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#6D2B46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b1876;
/* rgb */ color: rgb(107, 24, 118);
/* oklch */ color: oklch(39.2% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#99609e',
    500: '#6b1876',
    950: '#000000',
  },
}
SCSS
$custom: #6b1876;
$custom-light: #99609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1876",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 292.979,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.16078,
    "h": 322.7
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#6B1876
secondary
#4BAB3F
accent
#E93F53
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6B1876

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

Preview Lab → · Contrast checker → · Palette generator →

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