#6A2183#6A2183

#6A2183 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.162 H 315.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6A2183
RGBrgb(106, 33, 131)
HSLhsl(285, 60%, 32%)
HSVhsv(285, 75%, 51%)
CMYKcmyk(19.1%, 74.8%, 0%, 48.6%)
CIE-LABlab(28.88, 47.11, -40.03)
CIE-LCHlch(28.88, 61.82, 319.64°)
OKLaboklab(40.77% 0.1164 -0.1127)
OKLCHoklch(40.77% 0.162 315.9)
XYZxyz(10.5838, 5.7910, 22.0286)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2183 #3A8321
analogous
#392183 #6A2183 #83216B
triadic
#6A2183 #836A21 #21836A
tetradic
#6A2183 #833921 #3A8321 #216B83
square
#6A2183 #833921 #3A8321 #216B83
split-complementary
#6A2183 #6B8321 #218339
monochromatic
#1B0821 #421552 #6A2183 #922DB4 #B04CD2

Accessibility & contrast

On white

9.73
#6A2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6A2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2183
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2183#FFFFFF#000000##FFFFFF
##6A21831.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#204681
Tritanopia (blue-blind)
#683650
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a2183;
/* rgb */ color: rgb(106, 33, 131);
/* oklch */ color: oklch(40.8% 0.162 315.9);
Tailwind
colors: {
  custom: {
    50: '#9864a8',
    500: '#6a2183',
    950: '#000000',
  },
}
SCSS
$custom: #6a2183;
$custom-light: #9864a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2183",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 284.694,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.16204,
    "h": 315.9
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#6A2183
secondary
#66B54B
accent
#E3456D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6A2183

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

Preview Lab → · Contrast checker → · Palette generator →

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