#6A2272#6A2272

#6A2272 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.145 H 323.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#6A2272
RGBrgb(106, 34, 114)
HSLhsl(294, 54%, 29%)
HSVhsv(294, 70%, 45%)
CMYKcmyk(7%, 70.2%, 0%, 55.3%)
CIE-LABlab(27.91, 43.21, -30.84)
CIE-LCHlch(27.91, 53.08, 324.49°)
OKLaboklab(39.72% 0.1163 -0.0858)
OKLCHoklch(39.72% 0.145 323.6)
XYZxyz(9.5529, 5.4237, 16.4600)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2272 #2A7222
analogous
#422272 #6A2272 #722252
triadic
#6A2272 #726A22 #22726A
tetradic
#6A2272 #724222 #2A7222 #225272
square
#6A2272 #724222 #2A7222 #225272
split-complementary
#6A2272 #527222 #227242
monochromatic
#160718 #3E1443 #6A2272 #9630A1 #BB46C8

Accessibility & contrast

On white

10.07
#6A2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2272
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2272#FFFFFF#000000##FFFFFF
##6A22721.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C74
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#6C2F47
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a2272;
/* rgb */ color: rgb(106, 34, 114);
/* oklch */ color: oklch(39.7% 0.145 323.6);
Tailwind
colors: {
  custom: {
    50: '#97649b',
    500: '#6a2272',
    950: '#000000',
  },
}
SCSS
$custom: #6a2272;
$custom-light: #97649b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2272",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 294,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.14457,
    "h": 323.6
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#6A2272
secondary
#54A54B
accent
#DD4A59
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2272

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

Preview Lab → · Contrast checker → · Palette generator →

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