#6D1F9E#6D1F9E

#6D1F9E is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.191 H 307.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6D1F9E
RGBrgb(109, 31, 158)
HSLhsl(277, 67%, 37%)
HSVhsv(277, 80%, 62%)
CMYKcmyk(31%, 80.4%, 0%, 38%)
CIE-LABlab(31.11, 54.32, -53.05)
CIE-LCHlch(31.11, 75.92, 315.68°)
OKLaboklab(43.08% 0.1173 -0.1508)
OKLCHoklch(43.08% 0.191 307.9)
XYZxyz(12.9669, 6.7000, 32.9513)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F9E #509E1F
analogous
#2D1F9E #6D1F9E #9E1F90
triadic
#6D1F9E #9E6D1F #1F9E6D
tetradic
#6D1F9E #9E2D1F #509E1F #1F909E
square
#6D1F9E #9E2D1F #509E1F #1F909E
split-complementary
#6D1F9E #909E1F #1F9E2D
monochromatic
#260B38 #4A156B #6D1F9E #9029D1 #AB59DE

Accessibility & contrast

On white

8.97
#6D1F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6D1F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F9E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F9E#FFFFFF#000000##FFFFFF
##6D1F9E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1f9e;
/* rgb */ color: rgb(109, 31, 158);
/* oklch */ color: oklch(43.1% 0.191 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c65bc',
    500: '#6d1f9e',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f9e;
$custom-light: #9c65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f9e",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 276.85,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43084,
    "c": 0.19104,
    "h": 307.9
  },
  "luminance": 0.067
}

Semantic roles & 50–950 ramp

primary
#6D1F9E
secondary
#80C256
accent
#EA3E80
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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