#6F1C98#6F1C98

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

Color values

HEX#6F1C98
RGBrgb(111, 28, 152)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 60%)
CMYKcmyk(27%, 81.6%, 0%, 40.4%)
CIE-LABlab(30.59, 54.39, -50.23)
CIE-LCHlch(30.59, 74.04, 317.28°)
OKLaboklab(42.63% 0.1239 -0.1425)
OKLCHoklch(42.63% 0.189 311)
XYZxyz(12.6372, 6.4773, 30.2842)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C98 #45981C
analogous
#311C98 #6F1C98 #981C83
triadic
#6F1C98 #986F1C #1C986F
tetradic
#6F1C98 #98311C #45981C #1C8398
square
#6F1C98 #98311C #45981C #1C8398
split-complementary
#6F1C98 #83981C #1C9831
monochromatic
#240931 #491264 #6F1C98 #9526CC #AF50DF

Accessibility & contrast

On white

9.15
#6F1C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6F1C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1C98
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C98#FFFFFF#000000##FFFFFF
##6F1C981.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1c98;
/* rgb */ color: rgb(111, 28, 152);
/* oklch */ color: oklch(42.6% 0.189 311.0);
Tailwind
colors: {
  custom: {
    50: '#9d64b7',
    500: '#6f1c98',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c98;
$custom-light: #9d64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c98",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 280.161,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.1888,
    "h": 311
  },
  "luminance": 0.06477
}

Semantic roles & 50–950 ramp

primary
#6F1C98
secondary
#74C14E
accent
#EC3C76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1C98

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

Preview Lab → · Contrast checker → · Palette generator →

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