#6D1F9F#6D1F9F

#6D1F9F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.2% C 0.192 H 307.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6D1F9F
RGBrgb(109, 31, 159)
HSLhsl(277, 67%, 37%)
HSVhsv(277, 81%, 62%)
CMYKcmyk(31.4%, 80.5%, 0%, 37.6%)
CIE-LABlab(31.19, 54.54, -53.52)
CIE-LCHlch(31.19, 76.41, 315.54°)
OKLaboklab(43.17% 0.117 -0.1522)
OKLCHoklch(43.17% 0.192 307.5)
XYZxyz(13.0533, 6.7346, 33.4064)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F9F #519F1F
analogous
#2D1F9F #6D1F9F #9F1F91
triadic
#6D1F9F #9F6D1F #1F9F6D
tetradic
#6D1F9F #9F2D1F #519F1F #1F919F
square
#6D1F9F #9F2D1F #519F1F #1F919F
split-complementary
#6D1F9F #919F1F #1F9F2D
monochromatic
#270B39 #4A156C #6D1F9F #9029D2 #AB5ADF

Accessibility & contrast

On white

8.95
#6D1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D1F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F9F
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F9F#FFFFFF#000000##FFFFFF
##6D1F9F1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004A9C
Tritanopia (blue-blind)
#65405F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1f9f;
/* rgb */ color: rgb(109, 31, 159);
/* oklch */ color: oklch(43.2% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#9c65bc',
    500: '#6d1f9f',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f9f;
$custom-light: #9c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f9f",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 276.563,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.192,
    "h": 307.5
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#6D1F9F
secondary
#81C357
accent
#EA3E81
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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