#6A1888#6A1888

#6A1888 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.176 H 314.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#6A1888
RGBrgb(106, 24, 136)
HSLhsl(284, 70%, 31%)
HSVhsv(284, 82%, 53%)
CMYKcmyk(22.1%, 82.4%, 0%, 46.7%)
CIE-LABlab(28.10, 51.44, -44.41)
CIE-LCHlch(28.10, 67.96, 319.19°)
OKLaboklab(40.34% 0.1239 -0.1255)
OKLCHoklch(40.34% 0.176 314.6)
XYZxyz(10.7137, 5.4954, 23.7841)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1888 #368818
analogous
#321888 #6A1888 #88186E
triadic
#6A1888 #886A18 #18886A
tetradic
#6A1888 #883218 #368818 #186E88
square
#6A1888 #883218 #368818 #186E88
split-complementary
#6A1888 #6E8818 #188832
monochromatic
#190620 #410F54 #6A1888 #9321BC #B23EDD

Accessibility & contrast

On white

10.00
#6A1888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6A1888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1888
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1888#FFFFFF#000000##FFFFFF
##6A18881.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8B
Deuteranopia (green-blind)
#0F4486
Tritanopia (blue-blind)
#673351
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1888;
/* rgb */ color: rgb(106, 24, 136);
/* oklch */ color: oklch(40.3% 0.176 314.6);
Tailwind
colors: {
  custom: {
    50: '#9960ab',
    500: '#6a1888',
    950: '#000000',
  },
}
SCSS
$custom: #6a1888;
$custom-light: #9960ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1888",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 136
  },
  "hsl": {
    "h": 283.929,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40339,
    "c": 0.17634,
    "h": 314.6
  },
  "luminance": 0.05495
}

Semantic roles & 50–950 ramp

primary
#6A1888
secondary
#61BC40
accent
#ED3B6B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1888

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

Preview Lab → · Contrast checker → · Palette generator →

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