#6D1F94#6D1F94

#6D1F94 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.182 H 311.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#6D1F94
RGBrgb(109, 31, 148)
HSLhsl(280, 65%, 35%)
HSVhsv(280, 79%, 58%)
CMYKcmyk(26.4%, 79.1%, 0%, 42%)
CIE-LABlab(30.33, 52.13, -48.21)
CIE-LCHlch(30.33, 71.01, 317.23°)
OKLaboklab(42.29% 0.1196 -0.1366)
OKLCHoklch(42.29% 0.182 311.2)
XYZxyz(12.1409, 6.3696, 28.6011)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F94 #46941F
analogous
#331F94 #6D1F94 #941F80
triadic
#6D1F94 #946D1F #1F946D
tetradic
#6D1F94 #94331F #46941F #1F8094
square
#6D1F94 #94331F #46941F #1F8094
split-complementary
#6D1F94 #80941F #1F9433
monochromatic
#220A2F #481461 #6D1F94 #922AC7 #AD53DB

Accessibility & contrast

On white

9.24
#6D1F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1F94
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F94#FFFFFF#000000##FFFFFF
##6D1F941.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#024992
Tritanopia (blue-blind)
#683C59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1f94;
/* rgb */ color: rgb(109, 31, 148);
/* oklch */ color: oklch(42.3% 0.182 311.2);
Tailwind
colors: {
  custom: {
    50: '#9b64b4',
    500: '#6d1f94',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f94;
$custom-light: #9b64b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f94",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 148
  },
  "hsl": {
    "h": 280,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42285,
    "c": 0.18156,
    "h": 311.2
  },
  "luminance": 0.06369
}

Semantic roles & 50–950 ramp

primary
#6D1F94
secondary
#75BE51
accent
#E83F78
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1F94

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

Preview Lab → · Contrast checker → · Palette generator →

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