#6F1B80#6F1B80

#6F1B80 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.168 H 320.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6F1B80
RGBrgb(111, 27, 128)
HSLhsl(290, 65%, 30%)
HSVhsv(290, 79%, 50%)
CMYKcmyk(13.3%, 78.9%, 0%, 49.8%)
CIE-LABlab(28.70, 49.82, -38.39)
CIE-LCHlch(28.70, 62.90, 322.38°)
OKLaboklab(40.74% 0.1291 -0.1077)
OKLCHoklch(40.74% 0.168 320.2)
XYZxyz(10.8433, 5.7225, 20.9513)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B80 #2C801B
analogous
#3C1B80 #6F1B80 #801B5E
triadic
#6F1B80 #806F1B #1B806F
tetradic
#6F1B80 #803C1B #2C801B #1B5E80
square
#6F1B80 #803C1B #2C801B #1B5E80
split-complementary
#6F1B80 #5E801B #1B803C
monochromatic
#17061B #43104D #6F1B80 #9B26B3 #BD3FD6

Accessibility & contrast

On white

9.79
#6F1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6F1B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B80
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B80#FFFFFF#000000##FFFFFF
##6F1B801.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#25477E
Tritanopia (blue-blind)
#6F304D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1b80;
/* rgb */ color: rgb(111, 27, 128);
/* oklch */ color: oklch(40.7% 0.168 320.2);
Tailwind
colors: {
  custom: {
    50: '#9c62a5',
    500: '#6f1b80',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b80;
$custom-light: #9c62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b80",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 289.901,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.16811,
    "h": 320.2
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#6F1B80
secondary
#56B443
accent
#E8405C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6F1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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