#6F1C99#6F1C99

#6F1C99 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.190 H 310.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6F1C99
RGBrgb(111, 28, 153)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 82%, 60%)
CMYKcmyk(27.5%, 81.7%, 0%, 40%)
CIE-LABlab(30.66, 54.61, -50.71)
CIE-LCHlch(30.66, 74.52, 317.12°)
OKLaboklab(42.71% 0.1237 -0.1439)
OKLCHoklch(42.71% 0.19 310.7)
XYZxyz(12.7194, 6.5102, 30.7174)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C99 #46991C
analogous
#301C99 #6F1C99 #991C84
triadic
#6F1C99 #996F1C #1C996F
tetradic
#6F1C99 #99301C #46991C #1C8499
square
#6F1C99 #99301C #46991C #1C8499
split-complementary
#6F1C99 #84991C #1C9930
monochromatic
#240932 #491365 #6F1C99 #9525CD #AF50DF

Accessibility & contrast

On white

9.12
#6F1C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1C99
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C99#FFFFFF#000000##FFFFFF
##6F1C991.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1c99;
/* rgb */ color: rgb(111, 28, 153);
/* oklch */ color: oklch(42.7% 0.190 310.7);
Tailwind
colors: {
  custom: {
    50: '#9d64b8',
    500: '#6f1c99',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c99;
$custom-light: #9d64b8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c99",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 279.84,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42708,
    "c": 0.18972,
    "h": 310.7
  },
  "luminance": 0.0651
}

Semantic roles & 50–950 ramp

primary
#6F1C99
secondary
#76C24F
accent
#EC3C77
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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