#6D1B68#6D1B68

#6D1B68 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.147 H 330.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6D1B68
RGBrgb(109, 27, 104)
HSLhsl(304, 60%, 27%)
HSVhsv(304, 75%, 43%)
CMYKcmyk(0%, 75.2%, 4.6%, 57.3%)
CIE-LABlab(26.84, 44.92, -26.08)
CIE-LCHlch(26.84, 51.94, 329.86°)
OKLaboklab(38.86% 0.1277 -0.0719)
OKLCHoklch(38.86% 0.147 330.6)
XYZxyz(9.1973, 5.0353, 13.5815)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1B68 #1B6D20
analogous
#491B6D #6D1B68 #6D1B3F
triadic
#6D1B68 #686D1B #1B686D
tetradic
#6D1B68 #6D491B #1B6D20 #1B3F6D
square
#6D1B68 #6D491B #1B6D20 #1B3F6D
split-complementary
#6D1B68 #3F6D1B #1B6D49
monochromatic
#190617 #3C0F39 #6D1B68 #9E2797 #CD35C4

Accessibility & contrast

On white

10.46
#6D1B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6D1B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1B68
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1B68#FFFFFF#000000##FFFFFF
##6D1B681.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13386A
Deuteranopia (green-blind)
#344366
Tritanopia (blue-blind)
#71253F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6d1b68;
/* rgb */ color: rgb(109, 27, 104);
/* oklch */ color: oklch(38.9% 0.147 330.6);
Tailwind
colors: {
  custom: {
    50: '#9a6093',
    500: '#6d1b68',
    950: '#000000',
  },
}
SCSS
$custom: #6d1b68;
$custom-light: #9a6093;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1b68",
  "rgb": {
    "r": 109,
    "g": 27,
    "b": 104
  },
  "hsl": {
    "h": 303.659,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.38857,
    "c": 0.14651,
    "h": 330.6
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#6D1B68
secondary
#42A248
accent
#E34E44
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0E050D
muted
#7E7A7E

Preview Lab

Preview with #6D1B68

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

Preview Lab → · Contrast checker → · Palette generator →

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