#6A1972#6A1972

#6A1972 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.8% C 0.156 H 324.0°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#6A1972
RGBrgb(106, 25, 114)
HSLhsl(295, 64%, 27%)
HSVhsv(295, 78%, 45%)
CMYKcmyk(7%, 78.1%, 0%, 55.3%)
CIE-LABlab(26.66, 46.74, -32.82)
CIE-LCHlch(26.66, 57.12, 324.92°)
OKLaboklab(38.83% 0.126 -0.0916)
OKLCHoklch(38.83% 0.156 324)
XYZxyz(9.3285, 4.9749, 16.3852)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1972 #217219
analogous
#3E1972 #6A1972 #72194D
triadic
#6A1972 #726A19 #19726A
tetradic
#6A1972 #723E19 #217219 #194D72
square
#6A1972 #723E19 #217219 #194D72
split-complementary
#6A1972 #4D7219 #19723E
monochromatic
#170619 #3B0E40 #6A1972 #9924A4 #C433D2

Accessibility & contrast

On white

10.53
#6A1972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A1972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1972
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1972#FFFFFF#000000##FFFFFF
##6A19721.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2A4270
Tritanopia (blue-blind)
#6C2944
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1972;
/* rgb */ color: rgb(106, 25, 114);
/* oklch */ color: oklch(38.8% 0.156 324.0);
Tailwind
colors: {
  custom: {
    50: '#98609b',
    500: '#6a1972',
    950: '#000000',
  },
}
SCSS
$custom: #6a1972;
$custom-light: #98609b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1972",
  "rgb": {
    "r": 106,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 294.607,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.38828,
    "c": 0.15578,
    "h": 324
  },
  "luminance": 0.04974
}

Semantic roles & 50–950 ramp

primary
#6A1972
secondary
#49A740
accent
#E74150
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1972

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

Preview Lab → · Contrast checker → · Palette generator →

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