#6A1774#6A1774

#6A1774 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.160 H 323.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#6A1774
RGBrgb(106, 23, 116)
HSLhsl(294, 67%, 27%)
HSVhsv(294, 80%, 45%)
CMYKcmyk(8.6%, 80.2%, 0%, 54.5%)
CIE-LABlab(26.56, 47.80, -34.27)
CIE-LCHlch(26.56, 58.82, 324.36°)
OKLaboklab(38.8% 0.1277 -0.0958)
OKLCHoklch(38.8% 0.16 323.1)
XYZxyz(9.4023, 4.9385, 16.9776)
Luminance0.0494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1774 #217417
analogous
#3B1774 #6A1774 #741750
triadic
#6A1774 #746A17 #17746A
tetradic
#6A1774 #743B17 #217417 #175074
square
#6A1774 #743B17 #217417 #175074
split-complementary
#6A1774 #507417 #17743B
monochromatic
#17051A #3B0D41 #6A1774 #9921A7 #C430D6

Accessibility & contrast

On white

10.57
#6A1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1774
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1774#FFFFFF#000000##FFFFFF
##6A17741.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#274272
Tritanopia (blue-blind)
#6C2945
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1774;
/* rgb */ color: rgb(106, 23, 116);
/* oklch */ color: oklch(38.8% 0.160 323.1);
Tailwind
colors: {
  custom: {
    50: '#985f9c',
    500: '#6a1774',
    950: '#000000',
  },
}
SCSS
$custom: #6a1774;
$custom-light: #985f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1774",
  "rgb": {
    "r": 106,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 293.548,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38796,
    "c": 0.15965,
    "h": 323.1
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#6A1774
secondary
#49A93D
accent
#EA3E50
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1774

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

Preview Lab → · Contrast checker → · Palette generator →

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