#6D1F9D#6D1F9D

#6D1F9D is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.190 H 308.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6D1F9D
RGBrgb(109, 31, 157)
HSLhsl(277, 67%, 37%)
HSVhsv(277, 80%, 62%)
CMYKcmyk(30.6%, 80.3%, 0%, 38.4%)
CIE-LABlab(31.03, 54.10, -52.57)
CIE-LCHlch(31.03, 75.43, 315.82°)
OKLaboklab(43% 0.1175 -0.1494)
OKLCHoklch(43% 0.19 308.2)
XYZxyz(12.8812, 6.6657, 32.4998)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F9D #4F9D1F
analogous
#2E1F9D #6D1F9D #9D1F8E
triadic
#6D1F9D #9D6D1F #1F9D6D
tetradic
#6D1F9D #9D2E1F #4F9D1F #1F8E9D
square
#6D1F9D #9D2E1F #4F9D1F #1F8E9D
split-complementary
#6D1F9D #8E9D1F #1F9D2E
monochromatic
#260B37 #4A156A #6D1F9D #9029D0 #AB58DE

Accessibility & contrast

On white

9.00
#6D1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D1F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F9D
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F9D#FFFFFF#000000##FFFFFF
##6D1F9D1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#65405E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1f9d;
/* rgb */ color: rgb(109, 31, 157);
/* oklch */ color: oklch(43.0% 0.190 308.2);
Tailwind
colors: {
  custom: {
    50: '#9c65bb',
    500: '#6d1f9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f9d;
$custom-light: #9c65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f9d",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 277.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.19009,
    "h": 308.2
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#6D1F9D
secondary
#7FC256
accent
#EA3E7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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