#6D1FA9#6D1FA9

#6D1FA9 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.202 H 304.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6D1FA9
RGBrgb(109, 31, 169)
HSLhsl(274, 69%, 39%)
HSVhsv(274, 82%, 66%)
CMYKcmyk(35.5%, 81.7%, 0%, 33.7%)
CIE-LABlab(32.02, 56.78, -58.21)
CIE-LCHlch(32.02, 81.32, 314.29°)
OKLaboklab(44% 0.1143 -0.166)
OKLCHoklch(44% 0.202 304.5)
XYZxyz(13.9564, 7.0958, 38.1628)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1FA9 #5BA91F
analogous
#281FA9 #6D1FA9 #A91FA0
triadic
#6D1FA9 #A96D1F #1FA96D
tetradic
#6D1FA9 #A9281F #5BA91F #1FA0A9
square
#6D1FA9 #A9281F #5BA91F #1FA0A9
split-complementary
#6D1FA9 #A0A91F #1FA928
monochromatic
#2A0C42 #4C1675 #6D1FA9 #8E2DD8 #AA60E2

Accessibility & contrast

On white

8.68
#6D1FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6D1FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1FA9
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1FA9#FFFFFF#000000##FFFFFF
##6D1FA91.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#614565
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d1fa9;
/* rgb */ color: rgb(109, 31, 169);
/* oklch */ color: oklch(44.0% 0.202 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d65c4',
    500: '#6d1fa9',
    950: '#000000',
  },
}
SCSS
$custom: #6d1fa9;
$custom-light: #9d65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1fa9",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 169
  },
  "hsl": {
    "h": 273.913,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44001,
    "c": 0.20153,
    "h": 304.5
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#6D1FA9
secondary
#8BC75D
accent
#EC3C88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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