#6D1E9D#6D1E9D

#6D1E9D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.191 H 308.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6D1E9D
RGBrgb(109, 30, 157)
HSLhsl(277, 68%, 37%)
HSVhsv(277, 81%, 62%)
CMYKcmyk(30.6%, 80.9%, 0%, 38.4%)
CIE-LABlab(30.91, 54.45, -52.77)
CIE-LCHlch(30.91, 75.82, 315.90°)
OKLaboklab(42.92% 0.1183 -0.15)
OKLCHoklch(42.92% 0.191 308.3)
XYZxyz(12.8555, 6.6143, 32.4912)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E9D #4E9D1E
analogous
#2E1E9D #6D1E9D #9D1E8E
triadic
#6D1E9D #9D6D1E #1E9D6D
tetradic
#6D1E9D #9D2E1E #4E9D1E #1E8E9D
square
#6D1E9D #9D2E1E #4E9D1E #1E8E9D
split-complementary
#6D1E9D #8E9D1E #1E9D2E
monochromatic
#260A36 #49146A #6D1E9D #9128D0 #AB57DF

Accessibility & contrast

On white

9.04
#6D1E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6D1E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E9D
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E9D#FFFFFF#000000##FFFFFF
##6D1E9D1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1e9d;
/* rgb */ color: rgb(109, 30, 157);
/* oklch */ color: oklch(42.9% 0.191 308.3);
Tailwind
colors: {
  custom: {
    50: '#9c64bb',
    500: '#6d1e9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e9d;
$custom-light: #9c64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e9d",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 277.323,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42918,
    "c": 0.19104,
    "h": 308.3
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#6D1E9D
secondary
#7EC254
accent
#EB3D7F
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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