#6A1372#6A1372

#6A1372 is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.4% C 0.162 H 324.2°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#6A1372
RGBrgb(106, 19, 114)
HSLhsl(295, 71%, 26%)
HSVhsv(295, 83%, 45%)
CMYKcmyk(7%, 83.3%, 0%, 55.3%)
CIE-LABlab(26.00, 48.67, -33.89)
CIE-LCHlch(26.00, 59.30, 325.15°)
OKLaboklab(38.35% 0.1313 -0.0946)
OKLCHoklch(38.35% 0.162 324.2)
XYZxyz(9.2137, 4.7454, 16.3470)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1372 #1B7213
analogous
#3A1372 #6A1372 #72134A
triadic
#6A1372 #726A13 #13726A
tetradic
#6A1372 #723A13 #1B7213 #134A72
square
#6A1372 #723A13 #1B7213 #134A72
split-complementary
#6A1372 #4A7213 #13723A
monochromatic
#18041A #390A3E #6A1372 #9B1CA6 #CB25DB

Accessibility & contrast

On white

10.77
#6A1372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6A1372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1372
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1372#FFFFFF#000000##FFFFFF
##6A13721.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#274170
Tritanopia (blue-blind)
#6C2643
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1372;
/* rgb */ color: rgb(106, 19, 114);
/* oklch */ color: oklch(38.4% 0.162 324.2);
Tailwind
colors: {
  custom: {
    50: '#985d9b',
    500: '#6a1372',
    950: '#000000',
  },
}
SCSS
$custom: #6a1372;
$custom-light: #985d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1372",
  "rgb": {
    "r": 106,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 294.947,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.16185,
    "h": 324.2
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#6A1372
secondary
#42A938
accent
#EE3A49
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1372

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

Preview Lab → · Contrast checker → · Palette generator →

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