#6A1A75#6A1A75

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

Color values

HEX#6A1A75
RGBrgb(106, 26, 117)
HSLhsl(293, 64%, 28%)
HSVhsv(293, 78%, 46%)
CMYKcmyk(9.4%, 77.8%, 0%, 54.1%)
CIE-LABlab(26.98, 46.96, -34.23)
CIE-LCHlch(26.98, 58.11, 323.91°)
OKLaboklab(39.12% 0.1249 -0.0957)
OKLCHoklch(39.12% 0.157 322.5)
XYZxyz(9.5238, 5.0879, 17.3066)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1A75 #25751A
analogous
#3C1A75 #6A1A75 #751A52
triadic
#6A1A75 #756A1A #1A756A
tetradic
#6A1A75 #753C1A #25751A #1A5275
square
#6A1A75 #753C1A #25751A #1A5275
split-complementary
#6A1A75 #52751A #1A753C
monochromatic
#170619 #3D0F43 #6A1A75 #9725A7 #C037D3

Accessibility & contrast

On white

10.41
#6A1A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1A75
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1A75#FFFFFF#000000##FFFFFF
##6A1A751.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#284373
Tritanopia (blue-blind)
#6B2B46
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1a75;
/* rgb */ color: rgb(106, 26, 117);
/* oklch */ color: oklch(39.1% 0.157 322.5);
Tailwind
colors: {
  custom: {
    50: '#98609d',
    500: '#6a1a75',
    950: '#000000',
  },
}
SCSS
$custom: #6a1a75;
$custom-light: #98609d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1a75",
  "rgb": {
    "r": 106,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 292.747,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.15729,
    "h": 322.5
  },
  "luminance": 0.05087
}

Semantic roles & 50–950 ramp

primary
#6A1A75
secondary
#4EAA41
accent
#E74155
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6A1A75

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

Preview Lab → · Contrast checker → · Palette generator →

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