#6F1F9F#6F1F9F

#6F1F9F is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.193 H 308.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6F1F9F
RGBrgb(111, 31, 159)
HSLhsl(278, 67%, 37%)
HSVhsv(278, 81%, 62%)
CMYKcmyk(30.2%, 80.5%, 0%, 37.6%)
CIE-LABlab(31.49, 54.89, -53.02)
CIE-LCHlch(31.49, 76.32, 315.99°)
OKLaboklab(43.44% 0.1198 -0.1507)
OKLCHoklch(43.44% 0.193 308.5)
XYZxyz(13.3022, 6.8629, 33.4181)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F9F #4F9F1F
analogous
#2F1F9F #6F1F9F #9F1F8F
triadic
#6F1F9F #9F6F1F #1F9F6F
tetradic
#6F1F9F #9F2F1F #4F9F1F #1F8F9F
square
#6F1F9F #9F2F1F #4F9F1F #1F8F9F
split-complementary
#6F1F9F #8F9F1F #1F9F2F
monochromatic
#270B39 #4B156C #6F1F9F #9329D2 #AD5ADF

Accessibility & contrast

On white

8.85
#6F1F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6F1F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F9F
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F9F#FFFFFF#000000##FFFFFF
##6F1F9F1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#67405F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f1f9f;
/* rgb */ color: rgb(111, 31, 159);
/* oklch */ color: oklch(43.4% 0.193 308.5);
Tailwind
colors: {
  custom: {
    50: '#9d65bc',
    500: '#6f1f9f',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f9f;
$custom-light: #9d65bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f9f",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 277.5,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.43435,
    "c": 0.19251,
    "h": 308.5
  },
  "luminance": 0.06863
}

Semantic roles & 50–950 ramp

primary
#6F1F9F
secondary
#7FC357
accent
#EA3E7E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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