#6A2188#6A2188

#6A2188 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 313.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#6A2188
RGBrgb(106, 33, 136)
HSLhsl(283, 61%, 33%)
HSVhsv(283, 76%, 53%)
CMYKcmyk(22.1%, 75.7%, 0%, 46.7%)
CIE-LABlab(29.23, 48.17, -42.58)
CIE-LCHlch(29.23, 64.30, 318.53°)
OKLaboklab(41.14% 0.1158 -0.1202)
OKLCHoklch(41.14% 0.167 313.9)
XYZxyz(10.9309, 5.9298, 23.8565)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2188 #3F8821
analogous
#362188 #6A2188 #882172
triadic
#6A2188 #886A21 #21886A
tetradic
#6A2188 #883621 #3F8821 #217288
square
#6A2188 #883621 #3F8821 #217288
split-complementary
#6A2188 #728821 #218836
monochromatic
#1D0925 #441557 #6A2188 #902DB9 #AE4FD4

Accessibility & contrast

On white

9.61
#6A2188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2188
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2188#FFFFFF#000000##FFFFFF
##6A21881.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#194786
Tritanopia (blue-blind)
#673853
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a2188;
/* rgb */ color: rgb(106, 33, 136);
/* oklch */ color: oklch(41.1% 0.167 313.9);
Tailwind
colors: {
  custom: {
    50: '#9864ab',
    500: '#6a2188',
    950: '#000000',
  },
}
SCSS
$custom: #6a2188;
$custom-light: #9864ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2188",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 282.524,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.16687,
    "h": 313.9
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#6A2188
secondary
#6CB84D
accent
#E44472
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A2188

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

Preview Lab → · Contrast checker → · Palette generator →

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