#6F1B99#6F1B99

#6F1B99 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 310.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6F1B99
RGBrgb(111, 27, 153)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 82%, 60%)
CMYKcmyk(27.5%, 82.4%, 0%, 40%)
CIE-LABlab(30.55, 54.93, -50.90)
CIE-LCHlch(30.55, 74.89, 317.18°)
OKLaboklab(42.63% 0.1244 -0.1444)
OKLCHoklch(42.63% 0.191 310.7)
XYZxyz(12.6961, 6.4636, 30.7096)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B99 #45991B
analogous
#301B99 #6F1B99 #991B84
triadic
#6F1B99 #996F1B #1B996F
tetradic
#6F1B99 #99301B #45991B #1B8499
square
#6F1B99 #99301B #45991B #1B8499
split-complementary
#6F1B99 #84991B #1B9930
monochromatic
#240931 #491265 #6F1B99 #9524CD #AF4FE0

Accessibility & contrast

On white

9.16
#6F1B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6F1B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B99
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B99#FFFFFF#000000##FFFFFF
##6F1B991.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#693C5B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1b99;
/* rgb */ color: rgb(111, 27, 153);
/* oklch */ color: oklch(42.6% 0.191 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d63b8',
    500: '#6f1b99',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b99;
$custom-light: #9d63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b99",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 280,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4263,
    "c": 0.19062,
    "h": 310.7
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#6F1B99
secondary
#74C24E
accent
#ED3B76
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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