#6D1A9F#6D1A9F

#6D1A9F is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.196 H 307.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#6D1A9F
RGBrgb(109, 26, 159)
HSLhsl(277, 72%, 36%)
HSVhsv(277, 84%, 62%)
CMYKcmyk(31.4%, 83.6%, 0%, 37.6%)
CIE-LABlab(30.62, 56.20, -54.45)
CIE-LCHlch(30.62, 78.25, 315.91°)
OKLaboklab(42.77% 0.1208 -0.1549)
OKLCHoklch(42.77% 0.196 307.9)
XYZxyz(12.9327, 6.4934, 33.3662)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A9F #4C9F1A
analogous
#2B1A9F #6D1A9F #9F1A8F
triadic
#6D1A9F #9F6D1A #1A9F6D
tetradic
#6D1A9F #9F2B1A #4C9F1A #1A8F9F
square
#6D1A9F #9F2B1A #4C9F1A #1A8F9F
split-complementary
#6D1A9F #8F9F1A #1A9F2B
monochromatic
#250936 #49116A #6D1A9F #9123D4 #AC51E3

Accessibility & contrast

On white

9.14
#6D1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6D1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A9F
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A9F#FFFFFF#000000##FFFFFF
##6D1A9F1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#653E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1a9f;
/* rgb */ color: rgb(109, 26, 159);
/* oklch */ color: oklch(42.8% 0.196 307.9);
Tailwind
colors: {
  custom: {
    50: '#9c63bc',
    500: '#6d1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a9f;
$custom-light: #9c63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a9f",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 277.444,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.19643,
    "h": 307.9
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#6D1A9F
secondary
#7CC550
accent
#EF397D
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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