#6D1E98#6D1E98

#6D1E98 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.186 H 309.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6D1E98
RGBrgb(109, 30, 152)
HSLhsl(279, 67%, 36%)
HSVhsv(279, 80%, 60%)
CMYKcmyk(28.3%, 80.3%, 0%, 40.4%)
CIE-LABlab(30.51, 53.35, -50.36)
CIE-LCHlch(30.51, 73.37, 316.65°)
OKLaboklab(42.51% 0.1195 -0.1429)
OKLCHoklch(42.51% 0.186 309.9)
XYZxyz(12.4373, 6.4470, 30.2889)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E98 #49981E
analogous
#301E98 #6D1E98 #981E86
triadic
#6D1E98 #986D1E #1E986D
tetradic
#6D1E98 #98301E #49981E #1E8698
square
#6D1E98 #98301E #49981E #1E8698
split-complementary
#6D1E98 #86981E #1E9830
monochromatic
#240A32 #481465 #6D1E98 #9228CB #AD53DD

Accessibility & contrast

On white

9.17
#6D1E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1E98
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E98#FFFFFF#000000##FFFFFF
##6D1E981.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#673D5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1e98;
/* rgb */ color: rgb(109, 30, 152);
/* oklch */ color: oklch(42.5% 0.186 309.9);
Tailwind
colors: {
  custom: {
    50: '#9c64b7',
    500: '#6d1e98',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e98;
$custom-light: #9c64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e98",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 278.852,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42514,
    "c": 0.18632,
    "h": 309.9
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#6D1E98
secondary
#79C051
accent
#EA3E7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1E98

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

Preview Lab → · Contrast checker → · Palette generator →

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