#6A2273#6A2273

#6A2273 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.8% C 0.146 H 323.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#6A2273
RGBrgb(106, 34, 115)
HSLhsl(293, 54%, 29%)
HSVhsv(293, 70%, 45%)
CMYKcmyk(7.8%, 70.4%, 0%, 54.9%)
CIE-LABlab(27.97, 43.40, -31.38)
CIE-LCHlch(27.97, 53.56, 324.14°)
OKLaboklab(39.78% 0.1163 -0.0874)
OKLCHoklch(39.78% 0.146 323.1)
XYZxyz(9.6101, 5.4466, 16.7614)
Luminance0.0545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2273 #2B7322
analogous
#422273 #6A2273 #732254
triadic
#6A2273 #736A22 #22736A
tetradic
#6A2273 #734222 #2B7322 #225473
square
#6A2273 #734222 #2B7322 #225473
split-complementary
#6A2273 #547322 #227342
monochromatic
#160718 #3E1444 #6A2273 #9630A2 #BA47C9

Accessibility & contrast

On white

10.05
#6A2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6A2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2273
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2273#FFFFFF#000000##FFFFFF
##6A22731.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a2273;
/* rgb */ color: rgb(106, 34, 115);
/* oklch */ color: oklch(39.8% 0.146 323.1);
Tailwind
colors: {
  custom: {
    50: '#97649c',
    500: '#6a2273',
    950: '#000000',
  },
}
SCSS
$custom: #6a2273;
$custom-light: #97649c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2273",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 293.333,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39784,
    "c": 0.14551,
    "h": 323.1
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#6A2273
secondary
#55A64B
accent
#DE4A5A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2273

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

Preview Lab → · Contrast checker → · Palette generator →

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