#6D1B7B#6D1B7B

#6D1B7B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.163 H 321.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#6D1B7B
RGBrgb(109, 27, 123)
HSLhsl(291, 64%, 29%)
HSVhsv(291, 78%, 48%)
CMYKcmyk(11.4%, 78%, 0%, 51.8%)
CIE-LABlab(28.02, 48.42, -36.35)
CIE-LCHlch(28.02, 60.55, 323.11°)
OKLaboklab(40.09% 0.1271 -0.1018)
OKLCHoklch(40.09% 0.163 321.3)
XYZxyz(10.2734, 5.4657, 19.2489)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B7B #297B1B
analogous
#3D1B7B #6D1B7B #7B1B59
triadic
#6D1B7B #7B6D1B #1B7B6D
tetradic
#6D1B7B #7B3D1B #297B1B #1B597B
square
#6D1B7B #7B3D1B #297B1B #1B597B
split-complementary
#6D1B7B #597B1B #1B7B3D
monochromatic
#160619 #411049 #6D1B7B #9926AD #BE3CD4

Accessibility & contrast

On white

10.03
#6D1B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6D1B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B7B
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B7B#FFFFFF#000000##FFFFFF
##6D1B7B1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#274579
Tritanopia (blue-blind)
#6E2E4A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1b7b;
/* rgb */ color: rgb(109, 27, 123);
/* oklch */ color: oklch(40.1% 0.163 321.3);
Tailwind
colors: {
  custom: {
    50: '#9a61a2',
    500: '#6d1b7b',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b7b;
$custom-light: #9a61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b7b",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 123
  },
  "hsl": {
    "h": 291.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40087,
    "c": 0.16284,
    "h": 321.3
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#6D1B7B
secondary
#53AF43
accent
#E74159
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6D1B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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