#6B1C8E#6B1C8E

#6B1C8E is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.178 H 312.6°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6B1C8E
RGBrgb(107, 28, 142)
HSLhsl(282, 67%, 33%)
HSVhsv(282, 80%, 56%)
CMYKcmyk(24.6%, 80.3%, 0%, 44.3%)
CIE-LABlab(29.18, 51.54, -46.38)
CIE-LCHlch(29.18, 69.34, 318.01°)
OKLaboklab(41.27% 0.1207 -0.1313)
OKLCHoklch(41.27% 0.178 312.6)
XYZxyz(11.3603, 5.9096, 26.1282)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1C8E #3F8E1C
analogous
#321C8E #6B1C8E #8E1C78
triadic
#6B1C8E #8E6B1C #1C8E6B
tetradic
#6B1C8E #8E321C #3F8E1C #1C788E
square
#6B1C8E #8E321C #3F8E1C #1C788E
split-complementary
#6B1C8E #788E1C #1C8E32
monochromatic
#1E0828 #44125B #6B1C8E #9226C1 #AE49DB

Accessibility & contrast

On white

9.63
#6B1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6B1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1C8E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1C8E#FFFFFF#000000##FFFFFF
##6B1C8E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#08468C
Tritanopia (blue-blind)
#673855
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1c8e;
/* rgb */ color: rgb(107, 28, 142);
/* oklch */ color: oklch(41.3% 0.178 312.6);
Tailwind
colors: {
  custom: {
    50: '#9a62b0',
    500: '#6b1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #6b1c8e;
$custom-light: #9a62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1c8e",
  "rgb": {
    "r": 107,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 281.579,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.17832,
    "h": 312.6
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#6B1C8E
secondary
#6CBD49
accent
#EA3E73
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6B1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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