#6B2183#6B2183

#6B2183 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.9% C 0.162 H 316.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6B2183
RGBrgb(107, 33, 131)
HSLhsl(285, 60%, 32%)
HSVhsv(285, 75%, 51%)
CMYKcmyk(18.3%, 74.8%, 0%, 48.6%)
CIE-LABlab(29.04, 47.33, -39.77)
CIE-LCHlch(29.04, 61.82, 319.96°)
OKLaboklab(40.92% 0.1177 -0.1119)
OKLCHoklch(40.92% 0.162 316.5)
XYZxyz(10.7034, 5.8526, 22.0342)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2183 #398321
analogous
#3A2183 #6B2183 #83216A
triadic
#6B2183 #836B21 #21836B
tetradic
#6B2183 #833A21 #398321 #216A83
square
#6B2183 #833A21 #398321 #216A83
split-complementary
#6B2183 #6A8321 #21833A
monochromatic
#1B0821 #431552 #6B2183 #932DB4 #B14CD2

Accessibility & contrast

On white

9.68
#6B2183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6B2183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2183
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2183#FFFFFF#000000##FFFFFF
##6B21831.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#214781
Tritanopia (blue-blind)
#6A3550
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b2183;
/* rgb */ color: rgb(107, 33, 131);
/* oklch */ color: oklch(40.9% 0.162 316.5);
Tailwind
colors: {
  custom: {
    50: '#9964a8',
    500: '#6b2183',
    950: '#000000',
  },
}
SCSS
$custom: #6b2183;
$custom-light: #9964a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2183",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 285.306,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40917,
    "c": 0.16243,
    "h": 316.5
  },
  "luminance": 0.05852
}

Semantic roles & 50–950 ramp

primary
#6B2183
secondary
#65B54B
accent
#E3456C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B2183

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

Preview Lab → · Contrast checker → · Palette generator →

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