#6D1AB2#6D1AB2

#6D1AB2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.214 H 302.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6D1AB2
RGBrgb(109, 26, 178)
HSLhsl(273, 75%, 40%)
HSVhsv(273, 85%, 70%)
CMYKcmyk(38.8%, 85.4%, 0%, 30.2%)
CIE-LABlab(32.27, 60.40, -63.20)
CIE-LCHlch(32.27, 87.42, 313.70°)
OKLaboklab(44.41% 0.1147 -0.1806)
OKLCHoklch(44.41% 0.214 302.4)
XYZxyz(14.7100, 7.2043, 42.7264)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1AB2 #5FB21A
analogous
#211AB2 #6D1AB2 #B21AAB
triadic
#6D1AB2 #B26D1A #1AB26D
tetradic
#6D1AB2 #B2211A #5FB21A #1AABB2
square
#6D1AB2 #B2211A #5FB21A #1AABB2
split-complementary
#6D1AB2 #ABB21A #1AB221
monochromatic
#2C0A47 #4C127D #6D1AB2 #8D29E0 #A95FE8

Accessibility & contrast

On white

8.60
#6D1AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6D1AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1AB2
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1AB2#FFFFFF#000000##FFFFFF
##6D1AB21.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#5E476A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d1ab2;
/* rgb */ color: rgb(109, 26, 178);
/* oklch */ color: oklch(44.4% 0.214 302.4);
Tailwind
colors: {
  custom: {
    50: '#9e64ca',
    500: '#6d1ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ab2;
$custom-light: #9e64ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ab2",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 178
  },
  "hsl": {
    "h": 272.763,
    "s": 74.51,
    "l": 40
  },
  "oklch": {
    "l": 0.4441,
    "c": 0.21397,
    "h": 302.4
  },
  "luminance": 0.07204
}

Semantic roles & 50–950 ramp

primary
#6D1AB2
secondary
#8FCC5C
accent
#F1378B
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6D1AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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