#6D1F96#6D1F96

#6D1F96 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.183 H 310.5°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6D1F96
RGBrgb(109, 31, 150)
HSLhsl(279, 66%, 35%)
HSVhsv(279, 79%, 59%)
CMYKcmyk(27.3%, 79.3%, 0%, 41.2%)
CIE-LABlab(30.48, 52.56, -49.19)
CIE-LCHlch(30.48, 71.99, 316.90°)
OKLaboklab(42.44% 0.1191 -0.1395)
OKLCHoklch(42.44% 0.183 310.5)
XYZxyz(12.3006, 6.4335, 29.4421)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F96 #48961F
analogous
#321F96 #6D1F96 #961F83
triadic
#6D1F96 #966D1F #1F966D
tetradic
#6D1F96 #96321F #48961F #1F8396
square
#6D1F96 #96321F #48961F #1F8396
split-complementary
#6D1F96 #83961F #1F9632
monochromatic
#230A31 #481563 #6D1F96 #9229C9 #AD54DC

Accessibility & contrast

On white

9.18
#6D1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1F96
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F96#FFFFFF#000000##FFFFFF
##6D1F961.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#673C5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6d1f96;
/* rgb */ color: rgb(109, 31, 150);
/* oklch */ color: oklch(42.4% 0.183 310.5);
Tailwind
colors: {
  custom: {
    50: '#9b64b6',
    500: '#6d1f96',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f96;
$custom-light: #9b64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f96",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 279.328,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42442,
    "c": 0.18345,
    "h": 310.5
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#6D1F96
secondary
#77BF52
accent
#E93F7A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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