#6D1A88#6D1A88

#6D1A88 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.175 H 316.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6D1A88
RGBrgb(109, 26, 136)
HSLhsl(285, 68%, 32%)
HSVhsv(285, 81%, 53%)
CMYKcmyk(19.9%, 80.9%, 0%, 46.7%)
CIE-LABlab(28.82, 51.35, -43.23)
CIE-LCHlch(28.82, 67.12, 319.91°)
OKLaboklab(40.94% 0.1262 -0.1219)
OKLCHoklch(40.94% 0.175 316)
XYZxyz(11.1193, 5.7680, 23.8154)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A88 #35881A
analogous
#361A88 #6D1A88 #881A6C
triadic
#6D1A88 #886D1A #1A886D
tetradic
#6D1A88 #88361A #35881A #1A6C88
square
#6D1A88 #88361A #35881A #1A6C88
split-complementary
#6D1A88 #6C881A #1A8836
monochromatic
#1B0621 #441055 #6D1A88 #9624BB #B542DB

Accessibility & contrast

On white

9.75
#6D1A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D1A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A88
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A88#FFFFFF#000000##FFFFFF
##6D1A881.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#6B3451
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d1a88;
/* rgb */ color: rgb(109, 26, 136);
/* oklch */ color: oklch(40.9% 0.175 316.0);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6d1a88',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a88;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a88",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 285.273,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.17549,
    "h": 316
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#6D1A88
secondary
#60BB43
accent
#EB3D68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6D1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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