#6A2276#6A2276

#6A2276 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.148 H 321.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6A2276
RGBrgb(106, 34, 118)
HSLhsl(291, 55%, 30%)
HSVhsv(291, 71%, 46%)
CMYKcmyk(10.2%, 71.2%, 0%, 53.7%)
CIE-LABlab(28.16, 44.00, -32.99)
CIE-LCHlch(28.16, 54.99, 323.14°)
OKLaboklab(39.98% 0.1163 -0.0921)
OKLCHoklch(39.98% 0.148 321.6)
XYZxyz(9.7855, 5.5168, 17.6854)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2276 #2E7622
analogous
#402276 #6A2276 #762258
triadic
#6A2276 #766A22 #22766A
tetradic
#6A2276 #764022 #2E7622 #225876
square
#6A2276 #764022 #2E7622 #225876
split-complementary
#6A2276 #587622 #227640
monochromatic
#150718 #3F1446 #6A2276 #9530A6 #B848CA

Accessibility & contrast

On white

9.98
#6A2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6A2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2276
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2276#FFFFFF#000000##FFFFFF
##6A22761.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063D78
Deuteranopia (green-blind)
#2C4574
Tritanopia (blue-blind)
#6B3149
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a2276;
/* rgb */ color: rgb(106, 34, 118);
/* oklch */ color: oklch(40.0% 0.148 321.6);
Tailwind
colors: {
  custom: {
    50: '#97649e',
    500: '#6a2276',
    950: '#000000',
  },
}
SCSS
$custom: #6a2276;
$custom-light: #97649e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2276",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 291.429,
    "s": 55.263,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3998,
    "c": 0.14834,
    "h": 321.6
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#6A2276
secondary
#58A94B
accent
#DF495F
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2276

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

Preview Lab → · Contrast checker → · Palette generator →

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