#6A1380#6A1380

#6A1380 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.174 H 318.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#6A1380
RGBrgb(106, 19, 128)
HSLhsl(288, 74%, 29%)
HSVhsv(288, 85%, 50%)
CMYKcmyk(17.2%, 85.2%, 0%, 49.8%)
CIE-LABlab(26.99, 51.32, -41.20)
CIE-LCHlch(26.99, 65.81, 321.25°)
OKLaboklab(39.37% 0.1293 -0.116)
OKLCHoklch(39.37% 0.174 318.1)
XYZxyz(10.0725, 5.0889, 20.8696)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1380 #298013
analogous
#341380 #6A1380 #801360
triadic
#6A1380 #806A13 #13806A
tetradic
#6A1380 #803413 #298013 #136080
square
#6A1380 #803413 #298013 #136080
split-complementary
#6A1380 #608013 #138034
monochromatic
#16041B #3E0B4B #6A1380 #961BB5 #BC2DE0

Accessibility & contrast

On white

10.41
#6A1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1380
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1380#FFFFFF#000000##FFFFFF
##6A13801.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#18427E
Tritanopia (blue-blind)
#692D4B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1380;
/* rgb */ color: rgb(106, 19, 128);
/* oklch */ color: oklch(39.4% 0.174 318.1);
Tailwind
colors: {
  custom: {
    50: '#995ea5',
    500: '#6a1380',
    950: '#000000',
  },
}
SCSS
$custom: #6a1380;
$custom-light: #995ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1380",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 287.89,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39367,
    "c": 0.1737,
    "h": 318.1
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#6A1380
secondary
#52B539
accent
#F1375D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A1380

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

Preview Lab → · Contrast checker → · Palette generator →

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