#6D1283#6D1283

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

Color values

HEX#6D1283
RGBrgb(109, 18, 131)
HSLhsl(288, 76%, 29%)
HSVhsv(288, 86%, 51%)
CMYKcmyk(16.8%, 86.3%, 0%, 48.6%)
CIE-LABlab(27.64, 52.73, -42.01)
CIE-LCHlch(27.64, 67.42, 321.45°)
OKLaboklab(39.99% 0.1332 -0.1183)
OKLCHoklch(39.99% 0.178 318.4)
XYZxyz(10.6191, 5.3230, 21.9364)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1283 #288312
analogous
#351283 #6D1283 #831261
triadic
#6D1283 #836D12 #12836D
tetradic
#6D1283 #833512 #288312 #126183
square
#6D1283 #833512 #288312 #126183
split-complementary
#6D1283 #618312 #128335
monochromatic
#16041B #400B4D #6D1283 #9A19B9 #BF2DE2

Accessibility & contrast

On white

10.17
#6D1283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6D1283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1283
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1283#FFFFFF#000000##FFFFFF
##6D12831.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d1283;
/* rgb */ color: rgb(109, 18, 131);
/* oklch */ color: oklch(40.0% 0.178 318.4);
Tailwind
colors: {
  custom: {
    50: '#9b5fa8',
    500: '#6d1283',
    950: '#000000',
  },
}
SCSS
$custom: #6d1283;
$custom-light: #9b5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1283",
  "rgb": {
    "r": 109,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 288.319,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39994,
    "c": 0.17816,
    "h": 318.4
  },
  "luminance": 0.05323
}

Semantic roles & 50–950 ramp

primary
#6D1283
secondary
#51B838
accent
#F2355A
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F0510
muted
#7E797F

Preview Lab

Preview with #6D1283

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

Preview Lab → · Contrast checker → · Palette generator →

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