#6B1A88#6B1A88

#6B1A88 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.175 H 315.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#6B1A88
RGBrgb(107, 26, 136)
HSLhsl(284, 68%, 32%)
HSVhsv(284, 81%, 53%)
CMYKcmyk(21.3%, 80.9%, 0%, 46.7%)
CIE-LABlab(28.49, 50.97, -43.77)
CIE-LCHlch(28.49, 67.18, 319.34°)
OKLaboklab(40.64% 0.1236 -0.1236)
OKLCHoklch(40.64% 0.175 315)
XYZxyz(10.8760, 5.6426, 23.8040)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A88 #37881A
analogous
#341A88 #6B1A88 #881A6E
triadic
#6B1A88 #886B1A #1A886B
tetradic
#6B1A88 #88341A #37881A #1A6E88
square
#6B1A88 #88341A #37881A #1A6E88
split-complementary
#6B1A88 #6E881A #1A8834
monochromatic
#1A0621 #431055 #6B1A88 #9324BB #B242DB

Accessibility & contrast

On white

9.87
#6B1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6B1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A88
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A88#FFFFFF#000000##FFFFFF
##6B1A881.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#683451
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1a88;
/* rgb */ color: rgb(107, 26, 136);
/* oklch */ color: oklch(40.6% 0.175 315.0);
Tailwind
colors: {
  custom: {
    50: '#9961ab',
    500: '#6b1a88',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a88;
$custom-light: #9961ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a88",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 284.182,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.17477,
    "h": 315
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#6B1A88
secondary
#62BB43
accent
#EB3D6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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