#6A1880#6A1880

#6A1880 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.7% C 0.169 H 317.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#6A1880
RGBrgb(106, 24, 128)
HSLhsl(287, 68%, 30%)
HSVhsv(287, 81%, 50%)
CMYKcmyk(17.2%, 81.3%, 0%, 49.8%)
CIE-LABlab(27.51, 49.81, -40.36)
CIE-LCHlch(27.51, 64.11, 320.98°)
OKLaboklab(39.73% 0.1253 -0.1136)
OKLCHoklch(39.73% 0.169 317.8)
XYZxyz(10.1662, 5.2764, 20.9008)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1880 #2E8018
analogous
#361880 #6A1880 #801862
triadic
#6A1880 #806A18 #18806A
tetradic
#6A1880 #803618 #2E8018 #186280
square
#6A1880 #803618 #2E8018 #186280
split-complementary
#6A1880 #628018 #188036
monochromatic
#15051A #3F0E4C #6A1880 #9522B4 #B839DA

Accessibility & contrast

On white

10.22
#6A1880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6A1880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1880
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1880#FFFFFF#000000##FFFFFF
##6A18801.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#69304C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1880;
/* rgb */ color: rgb(106, 24, 128);
/* oklch */ color: oklch(39.7% 0.169 317.8);
Tailwind
colors: {
  custom: {
    50: '#9860a5',
    500: '#6a1880',
    950: '#000000',
  },
}
SCSS
$custom: #6a1880;
$custom-light: #9860a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1880",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 287.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39734,
    "c": 0.16917,
    "h": 317.8
  },
  "luminance": 0.05276
}

Semantic roles & 50–950 ramp

primary
#6A1880
secondary
#58B440
accent
#EB3D61
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6A1880

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

Preview Lab → · Contrast checker → · Palette generator →

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