#6A1A74#6A1A74

#6A1A74 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.1% C 0.156 H 323.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#6A1A74
RGBrgb(106, 26, 116)
HSLhsl(293, 63%, 28%)
HSVhsv(293, 78%, 45%)
CMYKcmyk(8.6%, 77.6%, 0%, 54.5%)
CIE-LABlab(26.92, 46.77, -33.70)
CIE-LCHlch(26.92, 57.64, 324.23°)
OKLaboklab(39.05% 0.1249 -0.0941)
OKLCHoklch(39.05% 0.156 323)
XYZxyz(9.4653, 5.0645, 16.9986)
Luminance0.0506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A74 #24741A
analogous
#3D1A74 #6A1A74 #741A51
triadic
#6A1A74 #746A1A #1A746A
tetradic
#6A1A74 #743D1A #24741A #1A5174
square
#6A1A74 #743D1A #24741A #1A5174
split-complementary
#6A1A74 #51741A #1A743D
monochromatic
#170619 #3C0F42 #6A1A74 #9825A6 #C136D2

Accessibility & contrast

On white

10.43
#6A1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6A1A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A74
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A74#FFFFFF#000000##FFFFFF
##6A1A741.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#6C2B46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1a74;
/* rgb */ color: rgb(106, 26, 116);
/* oklch */ color: oklch(39.1% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#98609c',
    500: '#6a1a74',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a74;
$custom-light: #98609c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a74",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 293.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39051,
    "c": 0.15641,
    "h": 323
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#6A1A74
secondary
#4DA941
accent
#E64154
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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