#6D1F99#6D1F99

#6D1F99 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.186 H 309.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6D1F99
RGBrgb(109, 31, 153)
HSLhsl(278, 66%, 36%)
HSVhsv(278, 80%, 60%)
CMYKcmyk(28.8%, 79.7%, 0%, 40%)
CIE-LABlab(30.72, 53.22, -50.65)
CIE-LCHlch(30.72, 73.47, 316.42°)
OKLaboklab(42.68% 0.1185 -0.1438)
OKLCHoklch(42.68% 0.186 309.5)
XYZxyz(12.5453, 6.5313, 30.7306)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F99 #4B991F
analogous
#301F99 #6D1F99 #991F88
triadic
#6D1F99 #996D1F #1F996D
tetradic
#6D1F99 #99301F #4B991F #1F8899
square
#6D1F99 #99301F #4B991F #1F8899
split-complementary
#6D1F99 #88991F #1F9930
monochromatic
#240A33 #491566 #6D1F99 #9129CC #AC56DD

Accessibility & contrast

On white

9.11
#6D1F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D1F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F99
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F99#FFFFFF#000000##FFFFFF
##6D1F991.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#663E5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1f99;
/* rgb */ color: rgb(109, 31, 153);
/* oklch */ color: oklch(42.7% 0.186 309.5);
Tailwind
colors: {
  custom: {
    50: '#9c65b8',
    500: '#6d1f99',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f99;
$custom-light: #9c65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f99",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 278.361,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4268,
    "c": 0.18629,
    "h": 309.5
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#6D1F99
secondary
#7BC054
accent
#E93F7C
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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