#6D1F73#6D1F73

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

Color values

HEX#6D1F73
RGBrgb(109, 31, 115)
HSLhsl(296, 58%, 29%)
HSVhsv(296, 73%, 45%)
CMYKcmyk(5.2%, 73%, 0%, 54.9%)
CIE-LABlab(28.03, 45.38, -31.25)
CIE-LCHlch(28.03, 55.10, 325.45°)
OKLaboklab(39.93% 0.1235 -0.0869)
OKLCHoklch(39.93% 0.151 324.9)
XYZxyz(9.8909, 5.4696, 16.7511)
Luminance0.0547 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F73 #25731F
analogous
#431F73 #6D1F73 #731F4F
triadic
#6D1F73 #736D1F #1F736D
tetradic
#6D1F73 #73431F #25731F #1F4F73
square
#6D1F73 #73431F #25731F #1F4F73
split-complementary
#6D1F73 #4F731F #1F7343
monochromatic
#170618 #3F1243 #6D1F73 #9B2CA3 #C241CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6D1F73#FFFFFF#000000##FFFFFF
##6D1F731.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)
#093C75
Deuteranopia (green-blind)
#2F4571
Tritanopia (blue-blind)
#6F2D47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d1f73;
/* rgb */ color: rgb(109, 31, 115);
/* oklch */ color: oklch(39.9% 0.151 324.9);
Tailwind
colors: {
  custom: {
    50: '#9a639c',
    500: '#6d1f73',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f73;
$custom-light: #9a639c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f73",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 295.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39928,
    "c": 0.15099,
    "h": 324.9
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#6D1F73
secondary
#4EA747
accent
#E14752
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D1F73

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

Preview Lab → · Contrast checker → · Palette generator →

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