#6A1C91#6A1C91

#6A1C91 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.4% C 0.181 H 311.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6A1C91
RGBrgb(106, 28, 145)
HSLhsl(280, 68%, 34%)
HSVhsv(280, 81%, 57%)
CMYKcmyk(26.9%, 80.7%, 0%, 43.1%)
CIE-LABlab(29.26, 52.00, -48.12)
CIE-LCHlch(29.26, 70.85, 317.22°)
OKLaboklab(41.37% 0.1186 -0.1364)
OKLCHoklch(41.37% 0.181 311)
XYZxyz(11.4690, 5.9393, 27.3248)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1C91 #43911C
analogous
#301C91 #6A1C91 #911C7E
triadic
#6A1C91 #916A1C #1C916A
tetradic
#6A1C91 #91301C #43911C #1C7E91
square
#6A1C91 #91301C #43911C #1C7E91
split-complementary
#6A1C91 #7E911C #1C9130
monochromatic
#1F082A #45125E #6A1C91 #8F26C4 #AC4BDC

Accessibility & contrast

On white

9.60
#6A1C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A1C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1C91
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1C91#FFFFFF#000000##FFFFFF
##6A1C911.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#653957
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a1c91;
/* rgb */ color: rgb(106, 28, 145);
/* oklch */ color: oklch(41.4% 0.181 311.0);
Tailwind
colors: {
  custom: {
    50: '#9962b2',
    500: '#6a1c91',
    950: '#000000',
  },
}
SCSS
$custom: #6a1c91;
$custom-light: #9962b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1c91",
  "rgb": {
    "r": 106,
    "g": 28,
    "b": 145
  },
  "hsl": {
    "h": 280,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.18081,
    "h": 311
  },
  "luminance": 0.05939
}

Semantic roles & 50–950 ramp

primary
#6A1C91
secondary
#71BE4A
accent
#EB3D77
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6A1C91

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

Preview Lab → · Contrast checker → · Palette generator →

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