#6B1894#6B1894

#6B1894 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.188 H 310.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#6B1894
RGBrgb(107, 24, 148)
HSLhsl(280, 72%, 34%)
HSVhsv(280, 84%, 58%)
CMYKcmyk(27.7%, 83.8%, 0%, 42%)
CIE-LABlab(29.20, 54.13, -50.05)
CIE-LCHlch(29.20, 73.72, 317.24°)
OKLaboklab(41.44% 0.1224 -0.142)
OKLCHoklch(41.44% 0.188 310.8)
XYZxyz(11.7343, 5.9175, 28.5353)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1894 #419418
analogous
#2D1894 #6B1894 #94187F
triadic
#6B1894 #946B18 #18946B
tetradic
#6B1894 #942D18 #419418 #187F94
square
#6B1894 #942D18 #419418 #187F94
split-complementary
#6B1894 #7F9418 #18942D
monochromatic
#1F072B #450F5F #6B1894 #9121C9 #AE45E1

Accessibility & contrast

On white

9.62
#6B1894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1894
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1894#FFFFFF#000000##FFFFFF
##6B18941.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#653958
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1894;
/* rgb */ color: rgb(107, 24, 148);
/* oklch */ color: oklch(41.4% 0.188 310.8);
Tailwind
colors: {
  custom: {
    50: '#9a61b4',
    500: '#6b1894',
    950: '#000000',
  },
}
SCSS
$custom: #6b1894;
$custom-light: #9a61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1894",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 148
  },
  "hsl": {
    "h": 280.161,
    "s": 72.093,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41436,
    "c": 0.18751,
    "h": 310.8
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#6B1894
secondary
#6FC246
accent
#EF3975
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1894

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

Preview Lab → · Contrast checker → · Palette generator →

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