#6B2170#6B2170

#6B2170 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.6% C 0.145 H 325.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#6B2170
RGBrgb(107, 33, 112)
HSLhsl(296, 54%, 28%)
HSVhsv(296, 71%, 44%)
CMYKcmyk(4.5%, 70.5%, 0%, 56.1%)
CIE-LABlab(27.80, 43.50, -29.72)
CIE-LCHlch(27.80, 52.68, 325.66°)
OKLaboklab(39.64% 0.1188 -0.0825)
OKLCHoklch(39.64% 0.145 325.2)
XYZxyz(9.5317, 5.3840, 15.8633)
Luminance0.0538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2170 #267021
analogous
#432170 #6B2170 #70214D
triadic
#6B2170 #706B21 #21706B
tetradic
#6B2170 #704321 #267021 #214D70
square
#6B2170 #704321 #267021 #214D70
split-complementary
#6B2170 #4D7021 #217043
monochromatic
#170718 #3E1341 #6B2170 #982F9F #BF44C8

Accessibility & contrast

On white

10.11
#6B2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6B2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2170
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2170#FFFFFF#000000##FFFFFF
##6B21701.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C72
Deuteranopia (green-blind)
#31456E
Tritanopia (blue-blind)
#6E2D46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b2170;
/* rgb */ color: rgb(107, 33, 112);
/* oklch */ color: oklch(39.6% 0.145 325.2);
Tailwind
colors: {
  custom: {
    50: '#986399',
    500: '#6b2170',
    950: '#000000',
  },
}
SCSS
$custom: #6b2170;
$custom-light: #986399;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2170",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 296.203,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39637,
    "c": 0.14462,
    "h": 325.2
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#6B2170
secondary
#4FA449
accent
#DE4A53
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6B2170

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

Preview Lab → · Contrast checker → · Palette generator →

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