#6F1F9B#6F1F9B

#6F1F9B is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.189 H 309.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6F1F9B
RGBrgb(111, 31, 155)
HSLhsl(279, 67%, 36%)
HSVhsv(279, 80%, 61%)
CMYKcmyk(28.4%, 80%, 0%, 39.2%)
CIE-LABlab(31.18, 54.01, -51.11)
CIE-LCHlch(31.18, 74.36, 316.58°)
OKLaboklab(43.11% 0.1208 -0.1451)
OKLCHoklch(43.11% 0.189 309.8)
XYZxyz(12.9607, 6.7263, 31.6195)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F9B #4B9B1F
analogous
#311F9B #6F1F9B #9B1F89
triadic
#6F1F9B #9B6F1F #1F9B6F
tetradic
#6F1F9B #9B311F #4B9B1F #1F899B
square
#6F1F9B #9B311F #4B9B1F #1F899B
split-complementary
#6F1F9B #899B1F #1F9B31
monochromatic
#260B35 #4A1568 #6F1F9B #9429CE #AE57DD

Accessibility & contrast

On white

8.95
#6F1F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6F1F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F9B
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F9B#FFFFFF#000000##FFFFFF
##6F1F9B1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#693E5D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1f9b;
/* rgb */ color: rgb(111, 31, 155);
/* oklch */ color: oklch(43.1% 0.189 309.8);
Tailwind
colors: {
  custom: {
    50: '#9d65b9',
    500: '#6f1f9b',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f9b;
$custom-light: #9d65b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f9b",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 155
  },
  "hsl": {
    "h": 278.71,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.18875,
    "h": 309.8
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#6F1F9B
secondary
#7BC155
accent
#EA3E7B
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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