#6C1380#6C1380

#6C1380 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.7% C 0.174 H 319.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#6C1380
RGBrgb(108, 19, 128)
HSLhsl(289, 74%, 29%)
HSVhsv(289, 85%, 50%)
CMYKcmyk(15.6%, 85.2%, 0%, 49.8%)
CIE-LABlab(27.33, 51.70, -40.62)
CIE-LCHlch(27.33, 65.75, 321.84°)
OKLaboklab(39.68% 0.1318 -0.1143)
OKLCHoklch(39.68% 0.174 319.1)
XYZxyz(10.3130, 5.2129, 20.8809)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1380 #278013
analogous
#361380 #6C1380 #80135E
triadic
#6C1380 #806C13 #13806C
tetradic
#6C1380 #803613 #278013 #135E80
square
#6C1380 #803613 #278013 #135E80
split-complementary
#6C1380 #5E8013 #138036
monochromatic
#16041B #3F0B4B #6C1380 #991BB5 #BF2DE0

Accessibility & contrast

On white

10.28
#6C1380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6C1380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1380
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1380#FFFFFF#000000##FFFFFF
##6C13801.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#1C437E
Tritanopia (blue-blind)
#6C2D4B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6c1380;
/* rgb */ color: rgb(108, 19, 128);
/* oklch */ color: oklch(39.7% 0.174 319.1);
Tailwind
colors: {
  custom: {
    50: '#9a5fa5',
    500: '#6c1380',
    950: '#000000',
  },
}
SCSS
$custom: #6c1380;
$custom-light: #9a5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1380",
  "rgb": {
    "r": 108,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 288.991,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.17445,
    "h": 319.1
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#6C1380
secondary
#50B539
accent
#F13759
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6C1380

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

Preview Lab → · Contrast checker → · Palette generator →

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