#6F1998#6F1998

#6F1998 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.4% C 0.191 H 311.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#6F1998
RGBrgb(111, 25, 152)
HSLhsl(281, 72%, 35%)
HSVhsv(281, 84%, 60%)
CMYKcmyk(27%, 83.6%, 0%, 40.4%)
CIE-LABlab(30.26, 55.35, -50.76)
CIE-LCHlch(30.26, 75.10, 317.47°)
OKLaboklab(42.4% 0.1262 -0.144)
OKLCHoklch(42.4% 0.191 311.2)
XYZxyz(12.5696, 6.3421, 30.2617)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1998 #429819
analogous
#301998 #6F1998 #981982
triadic
#6F1998 #986F19 #19986F
tetradic
#6F1998 #983019 #429819 #198298
square
#6F1998 #983019 #429819 #198298
split-complementary
#6F1998 #829819 #199830
monochromatic
#22082F #491063 #6F1998 #9522CD #B04AE1

Accessibility & contrast

On white

9.26
#6F1998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6F1998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1998
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1998#FFFFFF#000000##FFFFFF
##6F19981.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#6A3A5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1998;
/* rgb */ color: rgb(111, 25, 152);
/* oklch */ color: oklch(42.4% 0.191 311.2);
Tailwind
colors: {
  custom: {
    50: '#9d62b7',
    500: '#6f1998',
    950: '#000000',
  },
}
SCSS
$custom: #6f1998;
$custom-light: #9d62b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1998",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 280.63,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.424,
    "c": 0.19145,
    "h": 311.2
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#6F1998
secondary
#71C34A
accent
#EE3974
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1998

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

Preview Lab → · Contrast checker → · Palette generator →

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