#6F1780#6F1780

#6F1780 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.172 H 320.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#6F1780
RGBrgb(111, 23, 128)
HSLhsl(290, 70%, 30%)
HSVhsv(290, 82%, 50%)
CMYKcmyk(13.3%, 82%, 0%, 49.8%)
CIE-LABlab(28.25, 51.12, -39.12)
CIE-LCHlch(28.25, 64.37, 322.58°)
OKLaboklab(40.42% 0.1325 -0.1098)
OKLCHoklch(40.42% 0.172 320.4)
XYZxyz(10.7577, 5.5514, 20.9228)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1780 #288017
analogous
#3B1780 #6F1780 #80175C
triadic
#6F1780 #806F17 #17806F
tetradic
#6F1780 #803B17 #288017 #175C80
square
#6F1780 #803B17 #288017 #175C80
split-complementary
#6F1780 #5C8017 #17803B
monochromatic
#16051A #420E4C #6F1780 #9C20B4 #C036DB

Accessibility & contrast

On white

9.95
#6F1780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6F1780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1780
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1780#FFFFFF#000000##FFFFFF
##6F17801.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#23467E
Tritanopia (blue-blind)
#6F2E4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6f1780;
/* rgb */ color: rgb(111, 23, 128);
/* oklch */ color: oklch(40.4% 0.172 320.4);
Tailwind
colors: {
  custom: {
    50: '#9c60a5',
    500: '#6f1780',
    950: '#000000',
  },
}
SCSS
$custom: #6f1780;
$custom-light: #9c60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1780",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 290.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40425,
    "c": 0.1721,
    "h": 320.4
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#6F1780
secondary
#51B43E
accent
#EC3B58
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6F1780

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

Preview Lab → · Contrast checker → · Palette generator →

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