#6A1A92#6A1A92

#6A1A92 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.184 H 310.8°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6A1A92
RGBrgb(106, 26, 146)
HSLhsl(280, 70%, 34%)
HSVhsv(280, 82%, 57%)
CMYKcmyk(27.4%, 82.2%, 0%, 42.7%)
CIE-LABlab(29.10, 52.89, -48.99)
CIE-LCHlch(29.10, 72.09, 317.19°)
OKLaboklab(41.29% 0.12 -0.139)
OKLCHoklch(41.29% 0.184 310.8)
XYZxyz(11.5006, 5.8786, 27.7174)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A92 #42921A
analogous
#2E1A92 #6A1A92 #921A7E
triadic
#6A1A92 #926A1A #1A926A
tetradic
#6A1A92 #922E1A #42921A #1A7E92
square
#6A1A92 #922E1A #42921A #1A7E92
split-complementary
#6A1A92 #7E921A #1A922E
monochromatic
#1F072A #44115E #6A1A92 #9023C6 #AC48DE

Accessibility & contrast

On white

9.65
#6A1A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A1A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1A92
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A92#FFFFFF#000000##FFFFFF
##6A1A921.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#004690
Tritanopia (blue-blind)
#643957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1a92;
/* rgb */ color: rgb(106, 26, 146);
/* oklch */ color: oklch(41.3% 0.184 310.8);
Tailwind
colors: {
  custom: {
    50: '#9962b3',
    500: '#6a1a92',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a92;
$custom-light: #9962b3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a92",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 146
  },
  "hsl": {
    "h": 280,
    "s": 69.767,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41285,
    "c": 0.18362,
    "h": 310.8
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#6A1A92
secondary
#70C048
accent
#ED3B76
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1A92

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

Preview Lab → · Contrast checker → · Palette generator →

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