#6A1883#6A1883

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

Color values

HEX#6A1883
RGBrgb(106, 24, 131)
HSLhsl(286, 69%, 30%)
HSVhsv(286, 82%, 51%)
CMYKcmyk(19.1%, 81.7%, 0%, 48.6%)
CIE-LABlab(27.73, 50.41, -41.89)
CIE-LCHlch(27.73, 65.54, 320.28°)
OKLaboklab(39.96% 0.1248 -0.1181)
OKLCHoklch(39.96% 0.172 316.6)
XYZxyz(10.3666, 5.3566, 21.9562)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1883 #318318
analogous
#341883 #6A1883 #831866
triadic
#6A1883 #836A18 #18836A
tetradic
#6A1883 #833418 #318318 #186683
square
#6A1883 #833418 #318318 #186683
split-complementary
#6A1883 #668318 #188334
monochromatic
#16051C #400F4F #6A1883 #9421B7 #B53ADB

Accessibility & contrast

On white

10.14
#6A1883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1883
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1883#FFFFFF#000000##FFFFFF
##6A18831.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#184481
Tritanopia (blue-blind)
#68314E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1883;
/* rgb */ color: rgb(106, 24, 131);
/* oklch */ color: oklch(40.0% 0.172 316.6);
Tailwind
colors: {
  custom: {
    50: '#9960a8',
    500: '#6a1883',
    950: '#000000',
  },
}
SCSS
$custom: #6a1883;
$custom-light: #9960a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1883",
  "rgb": {
    "r": 106,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 285.981,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39957,
    "c": 0.17185,
    "h": 316.6
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#6A1883
secondary
#5CB740
accent
#EC3C65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6A1883

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

Preview Lab → · Contrast checker → · Palette generator →

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