#6D1768#6D1768

#6D1768 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.5% C 0.151 H 330.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#6D1768
RGBrgb(109, 23, 104)
HSLhsl(303, 65%, 26%)
HSVhsv(303, 79%, 43%)
CMYKcmyk(0%, 78.9%, 4.6%, 57.3%)
CIE-LABlab(26.34, 46.32, -26.85)
CIE-LCHlch(26.34, 53.54, 329.90°)
OKLaboklab(38.51% 0.1317 -0.0741)
OKLCHoklch(38.51% 0.151 330.6)
XYZxyz(9.1117, 4.8642, 13.5530)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1768 #176D1C
analogous
#47176D #6D1768 #6D173D
triadic
#6D1768 #686D17 #17686D
tetradic
#6D1768 #6D4717 #176D1C #173D6D
square
#6D1768 #6D4717 #176D1C #173D6D
split-complementary
#6D1768 #3D6D17 #176D47
monochromatic
#190518 #3A0C38 #6D1768 #A02298 #D22CC8

Accessibility & contrast

On white

10.65
#6D1768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6D1768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1768
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1768#FFFFFF#000000##FFFFFF
##6D17681.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D376A
Deuteranopia (green-blind)
#324266
Tritanopia (blue-blind)
#71233E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d1768;
/* rgb */ color: rgb(109, 23, 104);
/* oklch */ color: oklch(38.5% 0.151 330.6);
Tailwind
colors: {
  custom: {
    50: '#9a5f93',
    500: '#6d1768',
    950: '#000000',
  },
}
SCSS
$custom: #6d1768;
$custom-light: #9a5f93;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1768",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 303.488,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38505,
    "c": 0.15111,
    "h": 330.6
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#6D1768
secondary
#3DA343
accent
#E84940
background
#F9F5F9
surface
#F2EAF1
border
#CCC6CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6D1768

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

Preview Lab → · Contrast checker → · Palette generator →

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