#6A1985#6A1985

#6A1985 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.173 H 315.7°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#6A1985
RGBrgb(106, 25, 133)
HSLhsl(285, 68%, 31%)
HSVhsv(285, 81%, 52%)
CMYKcmyk(20.3%, 81.2%, 0%, 47.8%)
CIE-LABlab(27.99, 50.49, -42.72)
CIE-LCHlch(27.99, 66.14, 319.77°)
OKLaboklab(40.19% 0.1236 -0.1205)
OKLCHoklch(40.19% 0.173 315.7)
XYZxyz(10.5245, 5.4533, 22.6840)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1985 #348519
analogous
#341985 #6A1985 #85196A
triadic
#6A1985 #856A19 #19856A
tetradic
#6A1985 #853419 #348519 #196A85
square
#6A1985 #853419 #348519 #196A85
split-complementary
#6A1985 #6A8519 #198534
monochromatic
#18061E #410F51 #6A1985 #9323B9 #B33EDB

Accessibility & contrast

On white

10.04
#6A1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1985
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1985#FFFFFF#000000##FFFFFF
##6A19851.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#68324F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1985;
/* rgb */ color: rgb(106, 25, 133);
/* oklch */ color: oklch(40.2% 0.173 315.7);
Tailwind
colors: {
  custom: {
    50: '#9961a9',
    500: '#6a1985',
    950: '#000000',
  },
}
SCSS
$custom: #6a1985;
$custom-light: #9961a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1985",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 285,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40188,
    "c": 0.17268,
    "h": 315.7
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#6A1985
secondary
#5FB941
accent
#EB3D68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1985

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

Preview Lab → · Contrast checker → · Palette generator →

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