#6D1E99#6D1E99

#6D1E99 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.187 H 309.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6D1E99
RGBrgb(109, 30, 153)
HSLhsl(279, 67%, 36%)
HSVhsv(279, 80%, 60%)
CMYKcmyk(28.8%, 80.4%, 0%, 40%)
CIE-LABlab(30.59, 53.57, -50.85)
CIE-LCHlch(30.59, 73.86, 316.50°)
OKLaboklab(42.59% 0.1193 -0.1443)
OKLCHoklch(42.59% 0.187 309.6)
XYZxyz(12.5196, 6.4799, 30.7220)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E99 #4A991E
analogous
#301E99 #6D1E99 #991E87
triadic
#6D1E99 #996D1E #1E996D
tetradic
#6D1E99 #99301E #4A991E #1E8799
square
#6D1E99 #99301E #4A991E #1E8799
split-complementary
#6D1E99 #87991E #1E9930
monochromatic
#240A33 #491466 #6D1E99 #9128CC #AC54DD

Accessibility & contrast

On white

9.15
#6D1E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1E99
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E99#FFFFFF#000000##FFFFFF
##6D1E991.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#663D5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1e99;
/* rgb */ color: rgb(109, 30, 153);
/* oklch */ color: oklch(42.6% 0.187 309.6);
Tailwind
colors: {
  custom: {
    50: '#9c64b8',
    500: '#6d1e99',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e99;
$custom-light: #9c64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e99",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 278.537,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42594,
    "c": 0.18726,
    "h": 309.6
  },
  "luminance": 0.0648
}

Semantic roles & 50–950 ramp

primary
#6D1E99
secondary
#7AC152
accent
#EA3E7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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