#6B2180#6B2180

#6B2180 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.160 H 317.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6B2180
RGBrgb(107, 33, 128)
HSLhsl(287, 59%, 32%)
HSVhsv(287, 74%, 50%)
CMYKcmyk(16.4%, 74.2%, 0%, 49.8%)
CIE-LABlab(28.83, 46.70, -38.22)
CIE-LCHlch(28.83, 60.34, 320.70°)
OKLaboklab(40.7% 0.118 -0.1074)
OKLCHoklch(40.7% 0.16 317.7)
XYZxyz(10.5030, 5.7725, 20.9788)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2180 #368021
analogous
#3C2180 #6B2180 #802166
triadic
#6B2180 #806B21 #21806B
tetradic
#6B2180 #803C21 #368021 #216680
square
#6B2180 #803C21 #368021 #216680
split-complementary
#6B2180 #668021 #21803C
monochromatic
#1A081F #42144F #6B2180 #942EB1 #B34BD1

Accessibility & contrast

On white

9.75
#6B2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6B2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2180
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2180#FFFFFF#000000##FFFFFF
##6B21801.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#6A344E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6b2180;
/* rgb */ color: rgb(107, 33, 128);
/* oklch */ color: oklch(40.7% 0.160 317.7);
Tailwind
colors: {
  custom: {
    50: '#9964a5',
    500: '#6b2180',
    950: '#000000',
  },
}
SCSS
$custom: #6b2180;
$custom-light: #9964a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2180",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 286.737,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.15957,
    "h": 317.7
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#6B2180
secondary
#61B34A
accent
#E24668
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6B2180

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

Preview Lab → · Contrast checker → · Palette generator →

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