#6D1E95#6D1E95

#6D1E95 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.184 H 310.9°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#6D1E95
RGBrgb(109, 30, 149)
HSLhsl(280, 66%, 35%)
HSVhsv(280, 80%, 58%)
CMYKcmyk(26.8%, 79.9%, 0%, 41.6%)
CIE-LABlab(30.28, 52.70, -48.90)
CIE-LCHlch(30.28, 71.90, 317.14°)
OKLaboklab(42.28% 0.1202 -0.1386)
OKLCHoklch(42.28% 0.184 310.9)
XYZxyz(12.1947, 6.3500, 29.0112)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1E95 #46951E
analogous
#321E95 #6D1E95 #951E81
triadic
#6D1E95 #956D1E #1E956D
tetradic
#6D1E95 #95321E #46951E #1E8195
square
#6D1E95 #95321E #46951E #1E8195
split-complementary
#6D1E95 #81951E #1E9532
monochromatic
#22092F #481462 #6D1E95 #9228C8 #AD51DC

Accessibility & contrast

On white

9.25
#6D1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6D1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1E95
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1E95#FFFFFF#000000##FFFFFF
##6D1E951.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#683B59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1e95;
/* rgb */ color: rgb(109, 30, 149);
/* oklch */ color: oklch(42.3% 0.184 310.9);
Tailwind
colors: {
  custom: {
    50: '#9b64b5',
    500: '#6d1e95',
    950: '#000000',
  },
}
SCSS
$custom: #6d1e95;
$custom-light: #9b64b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1e95",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 279.832,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42276,
    "c": 0.18351,
    "h": 310.9
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#6D1E95
secondary
#75BF50
accent
#E93E78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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