#6B1882#6B1882

#6B1882 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.171 H 317.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#6B1882
RGBrgb(107, 24, 130)
HSLhsl(287, 69%, 30%)
HSVhsv(287, 82%, 51%)
CMYKcmyk(17.7%, 81.5%, 0%, 49%)
CIE-LABlab(27.82, 50.41, -41.10)
CIE-LCHlch(27.82, 65.04, 320.81°)
OKLaboklab(40.03% 0.1263 -0.1158)
OKLCHoklch(40.03% 0.171 317.5)
XYZxyz(10.4187, 5.3912, 21.6066)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1882 #2F8218
analogous
#361882 #6B1882 #821864
triadic
#6B1882 #826B18 #18826B
tetradic
#6B1882 #823618 #2F8218 #186482
square
#6B1882 #823618 #2F8218 #186482
split-complementary
#6B1882 #648218 #188236
monochromatic
#16051B #400E4E #6B1882 #9622B6 #B83ADB

Accessibility & contrast

On white

10.10
#6B1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B1882
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1882#FFFFFF#000000##FFFFFF
##6B18821.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#1B4480
Tritanopia (blue-blind)
#6A304D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1882;
/* rgb */ color: rgb(107, 24, 130);
/* oklch */ color: oklch(40.0% 0.171 317.5);
Tailwind
colors: {
  custom: {
    50: '#9960a7',
    500: '#6b1882',
    950: '#000000',
  },
}
SCSS
$custom: #6b1882;
$custom-light: #9960a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1882",
  "rgb": {
    "r": 107,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 286.981,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40034,
    "c": 0.17133,
    "h": 317.5
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#6B1882
secondary
#59B640
accent
#EC3C62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6B1882

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

Preview Lab → · Contrast checker → · Palette generator →

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