#6F1B9B#6F1B9B

#6F1B9B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.192 H 310.1°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6F1B9B
RGBrgb(111, 27, 155)
HSLhsl(279, 70%, 36%)
HSVhsv(279, 83%, 61%)
CMYKcmyk(28.4%, 82.6%, 0%, 39.2%)
CIE-LABlab(30.71, 55.36, -51.86)
CIE-LCHlch(30.71, 75.85, 316.87°)
OKLaboklab(42.79% 0.1239 -0.1472)
OKLCHoklch(42.79% 0.192 310.1)
XYZxyz(12.8627, 6.5302, 31.5869)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B9B #479B1B
analogous
#2F1B9B #6F1B9B #9B1B87
triadic
#6F1B9B #9B6F1B #1B9B6F
tetradic
#6F1B9B #9B2F1B #479B1B #1B879B
square
#6F1B9B #9B2F1B #479B1B #1B879B
split-complementary
#6F1B9B #879B1B #1B9B2F
monochromatic
#240933 #4A1267 #6F1B9B #9424CF #AF50E0

Accessibility & contrast

On white

9.11
#6F1B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6F1B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1B9B
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B9B#FFFFFF#000000##FFFFFF
##6F1B9B1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#693D5C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1b9b;
/* rgb */ color: rgb(111, 27, 155);
/* oklch */ color: oklch(42.8% 0.192 310.1);
Tailwind
colors: {
  custom: {
    50: '#9d63b9',
    500: '#6f1b9b',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b9b;
$custom-light: #9d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b9b",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 155
  },
  "hsl": {
    "h": 279.375,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42791,
    "c": 0.19245,
    "h": 310.1
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#6F1B9B
secondary
#77C34F
accent
#ED3B78
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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