#6B1683#6B1683

#6B1683 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.174 H 317.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#6B1683
RGBrgb(107, 22, 131)
HSLhsl(287, 71%, 30%)
HSVhsv(287, 83%, 51%)
CMYKcmyk(18.3%, 83.2%, 0%, 48.6%)
CIE-LABlab(27.68, 51.23, -41.96)
CIE-LCHlch(27.68, 66.22, 320.68°)
OKLaboklab(39.96% 0.1277 -0.1183)
OKLCHoklch(39.96% 0.174 317.2)
XYZxyz(10.4464, 5.3388, 21.9486)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1683 #2E8316
analogous
#341683 #6B1683 #831665
triadic
#6B1683 #836B16 #16836B
tetradic
#6B1683 #833416 #2E8316 #166583
square
#6B1683 #833416 #2E8316 #166583
split-complementary
#6B1683 #658316 #168334
monochromatic
#15041A #400D4F #6B1683 #961FB7 #B836DD

Accessibility & contrast

On white

10.16
#6B1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6B1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1683
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1683#FFFFFF#000000##FFFFFF
##6B16831.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#6A304E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1683;
/* rgb */ color: rgb(107, 22, 131);
/* oklch */ color: oklch(40.0% 0.174 317.2);
Tailwind
colors: {
  custom: {
    50: '#9960a8',
    500: '#6b1683',
    950: '#000000',
  },
}
SCSS
$custom: #6b1683;
$custom-light: #9960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1683",
  "rgb": {
    "r": 107,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 286.789,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.17408,
    "h": 317.2
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#6B1683
secondary
#58B73D
accent
#EE3A61
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6B1683

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

Preview Lab → · Contrast checker → · Palette generator →

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