#6D1A9E#6D1A9E

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

Color values

HEX#6D1A9E
RGBrgb(109, 26, 158)
HSLhsl(278, 72%, 36%)
HSVhsv(278, 84%, 62%)
CMYKcmyk(31%, 83.5%, 0%, 38%)
CIE-LABlab(30.54, 55.99, -53.98)
CIE-LCHlch(30.54, 77.77, 316.05°)
OKLaboklab(42.69% 0.121 -0.1535)
OKLCHoklch(42.69% 0.196 308.3)
XYZxyz(12.8463, 6.4588, 32.9111)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A9E #4B9E1A
analogous
#2B1A9E #6D1A9E #9E1A8D
triadic
#6D1A9E #9E6D1A #1A9E6D
tetradic
#6D1A9E #9E2B1A #4B9E1A #1A8D9E
square
#6D1A9E #9E2B1A #4B9E1A #1A8D9E
split-complementary
#6D1A9E #8D9E1A #1A9E2B
monochromatic
#240935 #491169 #6D1A9E #9123D3 #AC50E2

Accessibility & contrast

On white

9.16
#6D1A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6D1A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A9E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A9E#FFFFFF#000000##FFFFFF
##6D1A9E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#653E5E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1a9e;
/* rgb */ color: rgb(109, 26, 158);
/* oklch */ color: oklch(42.7% 0.196 308.3);
Tailwind
colors: {
  custom: {
    50: '#9c63bc',
    500: '#6d1a9e',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a9e;
$custom-light: #9c63bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a9e",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 277.727,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.1955,
    "h": 308.3
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#6D1A9E
secondary
#7BC54F
accent
#EE397D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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