#6D1A95#6D1A95

#6D1A95 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.187 H 311.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6D1A95
RGBrgb(109, 26, 149)
HSLhsl(280, 70%, 34%)
HSVhsv(280, 83%, 58%)
CMYKcmyk(26.8%, 82.6%, 0%, 41.6%)
CIE-LABlab(29.81, 54.06, -49.66)
CIE-LCHlch(29.81, 73.40, 317.43°)
OKLaboklab(41.95% 0.1234 -0.1408)
OKLCHoklch(41.95% 0.187 311.2)
XYZxyz(12.0998, 6.1602, 28.9796)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1A95 #42951A
analogous
#301A95 #6D1A95 #951A80
triadic
#6D1A95 #956D1A #1A956D
tetradic
#6D1A95 #95301A #42951A #1A8095
square
#6D1A95 #95301A #42951A #1A8095
split-complementary
#6D1A95 #80951A #1A9530
monochromatic
#21082D #471161 #6D1A95 #9323C9 #AF4ADF

Accessibility & contrast

On white

9.41
#6D1A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6D1A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1A95
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1A95#FFFFFF#000000##FFFFFF
##6D1A951.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#683A59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d1a95;
/* rgb */ color: rgb(109, 26, 149);
/* oklch */ color: oklch(41.9% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#9c62b5',
    500: '#6d1a95',
    950: '#000000',
  },
}
SCSS
$custom: #6d1a95;
$custom-light: #9c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1a95",
  "rgb": {
    "r": 109,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 280.488,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.18727,
    "h": 311.2
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#6D1A95
secondary
#70C14A
accent
#ED3B75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6D1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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