#6D1EA1#6D1EA1

#6D1EA1 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.195 H 307.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#6D1EA1
RGBrgb(109, 30, 161)
HSLhsl(276, 69%, 37%)
HSVhsv(276, 81%, 63%)
CMYKcmyk(32.3%, 81.4%, 0%, 36.9%)
CIE-LABlab(31.24, 55.33, -54.66)
CIE-LCHlch(31.24, 77.78, 315.35°)
OKLaboklab(43.25% 0.1173 -0.1556)
OKLCHoklch(43.25% 0.195 307)
XYZxyz(13.2026, 6.7531, 34.3193)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1EA1 #52A11E
analogous
#2B1EA1 #6D1EA1 #A11E94
triadic
#6D1EA1 #A16D1E #1EA16D
tetradic
#6D1EA1 #A12B1E #52A11E #1E94A1
square
#6D1EA1 #A12B1E #52A11E #1E94A1
split-complementary
#6D1EA1 #94A11E #1EA12B
monochromatic
#270B3A #4A146D #6D1EA1 #9028D5 #AB59E0

Accessibility & contrast

On white

8.93
#6D1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6D1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1EA1
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1EA1#FFFFFF#000000##FFFFFF
##6D1EA11.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#644160
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d1ea1;
/* rgb */ color: rgb(109, 30, 161);
/* oklch */ color: oklch(43.2% 0.195 307.0);
Tailwind
colors: {
  custom: {
    50: '#9c65be',
    500: '#6d1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6d1ea1;
$custom-light: #9c65be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1ea1",
  "rgb": {
    "r": 109,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 276.183,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.19482,
    "h": 307
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#6D1EA1
secondary
#82C457
accent
#EB3C82
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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