#6C1883#6C1883

#6C1883 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.173 H 317.6°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#6C1883
RGBrgb(108, 24, 131)
HSLhsl(287, 69%, 30%)
HSVhsv(287, 82%, 51%)
CMYKcmyk(17.6%, 81.7%, 0%, 48.6%)
CIE-LABlab(28.06, 50.80, -41.33)
CIE-LCHlch(28.06, 65.49, 320.87°)
OKLaboklab(40.26% 0.1274 -0.1164)
OKLCHoklch(40.26% 0.173 317.6)
XYZxyz(10.6071, 5.4806, 21.9675)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1883 #2F8318
analogous
#371883 #6C1883 #831864
triadic
#6C1883 #836C18 #18836C
tetradic
#6C1883 #833718 #2F8318 #186483
square
#6C1883 #833718 #2F8318 #186483
split-complementary
#6C1883 #648318 #188337
monochromatic
#17051C #410F4F #6C1883 #9721B7 #B83ADB

Accessibility & contrast

On white

10.02
#6C1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6C1883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1883
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1883#FFFFFF#000000##FFFFFF
##6C18831.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c1883;
/* rgb */ color: rgb(108, 24, 131);
/* oklch */ color: oklch(40.3% 0.173 317.6);
Tailwind
colors: {
  custom: {
    50: '#9a60a8',
    500: '#6c1883',
    950: '#000000',
  },
}
SCSS
$custom: #6c1883;
$custom-light: #9a60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1883",
  "rgb": {
    "r": 108,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 287.103,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.17259,
    "h": 317.6
  },
  "luminance": 0.0548
}

Semantic roles & 50–950 ramp

primary
#6C1883
secondary
#59B740
accent
#EC3C62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6C1883

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

Preview Lab → · Contrast checker → · Palette generator →

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