#6D1762#6D1762

#6D1762 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.146 H 333.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#6D1762
RGBrgb(109, 23, 98)
HSLhsl(308, 65%, 26%)
HSVhsv(308, 79%, 43%)
CMYKcmyk(0%, 78.9%, 10.1%, 57.3%)
CIE-LABlab(26.00, 45.31, -23.49)
CIE-LCHlch(26.00, 51.04, 332.60°)
OKLaboklab(38.15% 0.1315 -0.0644)
OKLCHoklch(38.15% 0.146 333.9)
XYZxyz(8.8178, 4.7466, 12.0047)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1762 #176D22
analogous
#4D176D #6D1762 #6D1737
triadic
#6D1762 #626D17 #17626D
tetradic
#6D1762 #6D4D17 #176D22 #17376D
square
#6D1762 #6D4D17 #176D22 #17376D
split-complementary
#6D1762 #376D17 #176D4D
monochromatic
#190517 #3A0C35 #6D1762 #A0228F #D22CBD

Accessibility & contrast

On white

10.77
#6D1762 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6D1762 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1762
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1762#FFFFFF#000000##FFFFFF
##6D17621.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153664
Deuteranopia (green-blind)
#354260
Tritanopia (blue-blind)
#721F3B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6d1762;
/* rgb */ color: rgb(109, 23, 98);
/* oklch */ color: oklch(38.1% 0.146 333.9);
Tailwind
colors: {
  custom: {
    50: '#9a5f8f',
    500: '#6d1762',
    950: '#000000',
  },
}
SCSS
$custom: #6d1762;
$custom-light: #9a5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1762",
  "rgb": {
    "r": 109,
    "g": 23,
    "b": 98
  },
  "hsl": {
    "h": 307.674,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.38147,
    "c": 0.14637,
    "h": 333.9
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#6D1762
secondary
#3DA34A
accent
#E85540
background
#F9F5F8
surface
#F2EAF0
border
#CCC6CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D1762

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

Preview Lab → · Contrast checker → · Palette generator →

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