#6A1D82#6A1D82

#6A1D82 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.166 H 316.7°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6A1D82
RGBrgb(106, 29, 130)
HSLhsl(286, 64%, 31%)
HSVhsv(286, 78%, 51%)
CMYKcmyk(18.5%, 77.7%, 0%, 49%)
CIE-LABlab(28.26, 48.46, -40.40)
CIE-LCHlch(28.26, 63.09, 320.18°)
OKLaboklab(40.31% 0.1205 -0.1138)
OKLCHoklch(40.31% 0.166 316.7)
XYZxyz(10.4119, 5.5550, 21.6385)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D82 #35821D
analogous
#371D82 #6A1D82 #821D67
triadic
#6A1D82 #826A1D #1D826A
tetradic
#6A1D82 #82371D #35821D #1D6782
square
#6A1D82 #82371D #35821D #1D6782
split-complementary
#6A1D82 #67821D #1D8237
monochromatic
#18071E #411250 #6A1D82 #9328B4 #B344D5

Accessibility & contrast

On white

9.95
#6A1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6A1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D82
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D82#FFFFFF#000000##FFFFFF
##6A1D821.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#1D4580
Tritanopia (blue-blind)
#69334E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a1d82;
/* rgb */ color: rgb(106, 29, 130);
/* oklch */ color: oklch(40.3% 0.166 316.7);
Tailwind
colors: {
  custom: {
    50: '#9862a7',
    500: '#6a1d82',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d82;
$custom-light: #9862a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d82",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 285.743,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40311,
    "c": 0.16574,
    "h": 316.7
  },
  "luminance": 0.05555
}

Semantic roles & 50–950 ramp

primary
#6A1D82
secondary
#60B546
accent
#E74169
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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