#6C1283#6C1283

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

Color values

HEX#6C1283
RGBrgb(108, 18, 131)
HSLhsl(288, 76%, 29%)
HSVhsv(288, 86%, 51%)
CMYKcmyk(17.6%, 86.3%, 0%, 48.6%)
CIE-LABlab(27.46, 52.55, -42.30)
CIE-LCHlch(27.46, 67.46, 321.17°)
OKLaboklab(39.84% 0.1319 -0.1192)
OKLCHoklch(39.84% 0.178 317.9)
XYZxyz(10.4968, 5.2599, 21.9307)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1283 #298312
analogous
#341283 #6C1283 #831262
triadic
#6C1283 #836C12 #12836C
tetradic
#6C1283 #833412 #298312 #126283
square
#6C1283 #833412 #298312 #126283
split-complementary
#6C1283 #628312 #128334
monochromatic
#16041B #400B4D #6C1283 #9819B9 #BD2DE2

Accessibility & contrast

On white

10.23
#6C1283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6C1283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1283
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1283#FFFFFF#000000##FFFFFF
##6C12831.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#174381
Tritanopia (blue-blind)
#6B2E4D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1283;
/* rgb */ color: rgb(108, 18, 131);
/* oklch */ color: oklch(39.8% 0.178 317.9);
Tailwind
colors: {
  custom: {
    50: '#9a5ea8',
    500: '#6c1283',
    950: '#000000',
  },
}
SCSS
$custom: #6c1283;
$custom-light: #9a5ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1283",
  "rgb": {
    "r": 108,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 287.788,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39839,
    "c": 0.1778,
    "h": 317.9
  },
  "luminance": 0.05259
}

Semantic roles & 50–950 ramp

primary
#6C1283
secondary
#53B838
accent
#F2355C
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6C1283

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

Preview Lab → · Contrast checker → · Palette generator →

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