#6A1A76#6A1A76

#6A1A76 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.158 H 322.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#6A1A76
RGBrgb(106, 26, 118)
HSLhsl(292, 64%, 28%)
HSVhsv(292, 78%, 46%)
CMYKcmyk(10.2%, 78%, 0%, 53.7%)
CIE-LABlab(27.05, 47.15, -34.76)
CIE-LCHlch(27.05, 58.58, 323.60°)
OKLaboklab(39.19% 0.1248 -0.0972)
OKLCHoklch(39.19% 0.158 322.1)
XYZxyz(9.5829, 5.1115, 17.6179)
Luminance0.0511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A76 #26761A
analogous
#3C1A76 #6A1A76 #761A54
triadic
#6A1A76 #766A1A #1A766A
tetradic
#6A1A76 #763C1A #26761A #1A5476
square
#6A1A76 #763C1A #26761A #1A5476
split-complementary
#6A1A76 #54761A #1A763C
monochromatic
#170619 #3D0F44 #6A1A76 #9725A8 #BF37D3

Accessibility & contrast

On white

10.38
#6A1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1A76
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A76#FFFFFF#000000##FFFFFF
##6A1A761.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#6B2C47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1a76;
/* rgb */ color: rgb(106, 26, 118);
/* oklch */ color: oklch(39.2% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#98609e',
    500: '#6a1a76',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a76;
$custom-light: #98609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a76",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 292.174,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39188,
    "c": 0.15817,
    "h": 322.1
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#6A1A76
secondary
#4FAB41
accent
#E74157
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6A1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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