#6D1C9D#6D1C9D

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

Color values

HEX#6D1C9D
RGBrgb(109, 28, 157)
HSLhsl(278, 70%, 36%)
HSVhsv(278, 82%, 62%)
CMYKcmyk(30.6%, 82.2%, 0%, 38.4%)
CIE-LABlab(30.68, 55.13, -53.14)
CIE-LCHlch(30.68, 76.57, 316.05°)
OKLaboklab(42.76% 0.1199 -0.1511)
OKLCHoklch(42.76% 0.193 308.4)
XYZxyz(12.8065, 6.5163, 32.4749)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1C9D #4C9D1C
analogous
#2C1C9D #6D1C9D #9D1C8D
triadic
#6D1C9D #9D6D1C #1C9D6D
tetradic
#6D1C9D #9D2C1C #4C9D1C #1C8D9D
square
#6D1C9D #9D2C1C #4C9D1C #1C8D9D
split-complementary
#6D1C9D #8D9D1C #1C9D2C
monochromatic
#250935 #491369 #6D1C9D #9125D1 #AC53E0

Accessibility & contrast

On white

9.12
#6D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1C9D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1C9D#FFFFFF#000000##FFFFFF
##6D1C9D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1c9d;
/* rgb */ color: rgb(109, 28, 157);
/* oklch */ color: oklch(42.8% 0.193 308.4);
Tailwind
colors: {
  custom: {
    50: '#9c64bb',
    500: '#6d1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1c9d;
$custom-light: #9c64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1c9d",
  "rgb": {
    "r": 109,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 277.674,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.19287,
    "h": 308.4
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#6D1C9D
secondary
#7CC351
accent
#ED3B7D
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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