#6A1976#6A1976

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

Color values

HEX#6A1976
RGBrgb(106, 25, 118)
HSLhsl(292, 65%, 28%)
HSVhsv(292, 79%, 46%)
CMYKcmyk(10.2%, 78.8%, 0%, 53.7%)
CIE-LABlab(26.93, 47.51, -34.96)
CIE-LCHlch(26.93, 58.98, 323.65°)
OKLaboklab(39.1% 0.1257 -0.0978)
OKLCHoklch(39.1% 0.159 322.1)
XYZxyz(9.5612, 5.0680, 17.6106)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1976 #257619
analogous
#3B1976 #6A1976 #761953
triadic
#6A1976 #766A19 #19766A
tetradic
#6A1976 #763B19 #257619 #195376
square
#6A1976 #763B19 #257619 #195376
split-complementary
#6A1976 #537619 #19763B
monochromatic
#170519 #3D0E43 #6A1976 #9724A8 #C035D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A1976#FFFFFF#000000##FFFFFF
##6A19761.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)
#003A79
Deuteranopia (green-blind)
#274374
Tritanopia (blue-blind)
#6B2B47
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1976;
/* rgb */ color: rgb(106, 25, 118);
/* oklch */ color: oklch(39.1% 0.159 322.1);
Tailwind
colors: {
  custom: {
    50: '#98609e',
    500: '#6a1976',
    950: '#000000',
  },
}
SCSS
$custom: #6a1976;
$custom-light: #98609e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1976",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 292.258,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39101,
    "c": 0.15927,
    "h": 322.1
  },
  "luminance": 0.05067
}

Semantic roles & 50–950 ramp

primary
#6A1976
secondary
#4EAB40
accent
#E84055
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1976

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

Preview Lab → · Contrast checker → · Palette generator →

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