#6B1A8A#6B1A8A

#6B1A8A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.177 H 314.2°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#6B1A8A
RGBrgb(107, 26, 138)
HSLhsl(283, 68%, 32%)
HSVhsv(283, 81%, 54%)
CMYKcmyk(22.5%, 81.2%, 0%, 45.9%)
CIE-LABlab(28.64, 51.38, -44.77)
CIE-LCHlch(28.64, 68.15, 318.93°)
OKLaboklab(40.8% 0.1232 -0.1266)
OKLCHoklch(40.8% 0.177 314.2)
XYZxyz(11.0195, 5.7000, 24.5596)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A8A #398A1A
analogous
#331A8A #6B1A8A #8A1A71
triadic
#6B1A8A #8A6B1A #1A8A6B
tetradic
#6B1A8A #8A331A #398A1A #1A718A
square
#6B1A8A #8A331A #398A1A #1A718A
split-complementary
#6B1A8A #718A1A #1A8A33
monochromatic
#1B0723 #431057 #6B1A8A #9324BD #B143DC

Accessibility & contrast

On white

9.81
#6B1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6B1A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A8A
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A8A#FFFFFF#000000##FFFFFF
##6B1A8A1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#0F4588
Tritanopia (blue-blind)
#683552
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b1a8a;
/* rgb */ color: rgb(107, 26, 138);
/* oklch */ color: oklch(40.8% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#9a61ad',
    500: '#6b1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a8a;
$custom-light: #9a61ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a8a",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 283.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.1766,
    "h": 314.2
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#6B1A8A
secondary
#65BD43
accent
#EB3D6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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