#6B1883#6B1883

#6B1883 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.1% C 0.172 H 317.1°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6B1883
RGBrgb(107, 24, 131)
HSLhsl(287, 69%, 30%)
HSVhsv(287, 82%, 51%)
CMYKcmyk(18.3%, 81.7%, 0%, 48.6%)
CIE-LABlab(27.89, 50.61, -41.61)
CIE-LCHlch(27.89, 65.52, 320.57°)
OKLaboklab(40.11% 0.1261 -0.1172)
OKLCHoklch(40.11% 0.172 317.1)
XYZxyz(10.4862, 5.4182, 21.9618)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1883 #308318
analogous
#351883 #6B1883 #831865
triadic
#6B1883 #836B18 #18836B
tetradic
#6B1883 #833518 #308318 #186583
square
#6B1883 #833518 #308318 #186583
split-complementary
#6B1883 #658318 #188335
monochromatic
#17051C #410F4F #6B1883 #9521B7 #B73ADB

Accessibility & contrast

On white

10.08
#6B1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1883
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1883#FFFFFF#000000##FFFFFF
##6B18831.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#1A4481
Tritanopia (blue-blind)
#6A314E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1883;
/* rgb */ color: rgb(107, 24, 131);
/* oklch */ color: oklch(40.1% 0.172 317.1);
Tailwind
colors: {
  custom: {
    50: '#9960a8',
    500: '#6b1883',
    950: '#000000',
  },
}
SCSS
$custom: #6b1883;
$custom-light: #9960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1883",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 286.542,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40108,
    "c": 0.17221,
    "h": 317.1
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#6B1883
secondary
#5BB740
accent
#EC3C63
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1883

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

Preview Lab → · Contrast checker → · Palette generator →

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