#6A2A72#6A2A72

#6A2A72 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.7% C 0.133 H 323.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6A2A72
RGBrgb(106, 42, 114)
HSLhsl(293, 46%, 31%)
HSVhsv(293, 63%, 45%)
CMYKcmyk(7%, 63.2%, 0%, 55.3%)
CIE-LABlab(29.25, 39.49, -28.71)
CIE-LCHlch(29.25, 48.82, 323.98°)
OKLaboklab(40.69% 0.1062 -0.0797)
OKLCHoklch(40.69% 0.133 323.1)
XYZxyz(9.8088, 5.9355, 16.5453)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2A72 #32722A
analogous
#462A72 #6A2A72 #722A56
triadic
#6A2A72 #726A2A #2A726A
tetradic
#6A2A72 #72462A #32722A #2A5672
square
#6A2A72 #72462A #32722A #2A5672
split-complementary
#6A2A72 #56722A #2A7246
monochromatic
#170919 #401A45 #6A2A72 #943A9F #B556C1

Accessibility & contrast

On white

9.60
#6A2A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6A2A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2A72
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2A72#FFFFFF#000000##FFFFFF
##6A2A721.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4074
Deuteranopia (green-blind)
#344870
Tritanopia (blue-blind)
#6C354A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a2a72;
/* rgb */ color: rgb(106, 42, 114);
/* oklch */ color: oklch(40.7% 0.133 323.1);
Tailwind
colors: {
  custom: {
    50: '#97689b',
    500: '#6a2a72',
    950: '#000000',
  },
}
SCSS
$custom: #6a2a72;
$custom-light: #97689b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2a72",
  "rgb": {
    "r": 106,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 293.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.13275,
    "h": 323.1
  },
  "luminance": 0.05935
}

Semantic roles & 50–950 ramp

primary
#6A2A72
secondary
#5DA454
accent
#D65261
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2A72

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

Preview Lab → · Contrast checker → · Palette generator →

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