#6A1885#6A1885

#6A1885 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.174 H 315.8°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#6A1885
RGBrgb(106, 24, 133)
HSLhsl(285, 69%, 31%)
HSVhsv(285, 82%, 52%)
CMYKcmyk(20.3%, 82%, 0%, 47.8%)
CIE-LABlab(27.88, 50.82, -42.90)
CIE-LCHlch(27.88, 66.51, 319.83°)
OKLaboklab(40.11% 0.1245 -0.1211)
OKLCHoklch(40.11% 0.174 315.8)
XYZxyz(10.5035, 5.4113, 22.6770)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1885 #338518
analogous
#341885 #6A1885 #851869
triadic
#6A1885 #856A18 #18856A
tetradic
#6A1885 #853418 #338518 #186985
square
#6A1885 #853418 #338518 #186985
split-complementary
#6A1885 #698518 #188534
monochromatic
#17051D #410F51 #6A1885 #9321B9 #B43CDC

Accessibility & contrast

On white

10.09
#6A1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1885
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1885#FFFFFF#000000##FFFFFF
##6A18851.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1885;
/* rgb */ color: rgb(106, 24, 133);
/* oklch */ color: oklch(40.1% 0.174 315.8);
Tailwind
colors: {
  custom: {
    50: '#9960a9',
    500: '#6a1885',
    950: '#000000',
  },
}
SCSS
$custom: #6a1885;
$custom-light: #9960a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1885",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 285.138,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.17364,
    "h": 315.8
  },
  "luminance": 0.05411
}

Semantic roles & 50–950 ramp

primary
#6A1885
secondary
#5EB940
accent
#EC3C67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1885

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

Preview Lab → · Contrast checker → · Palette generator →

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