#6F1D9E#6F1D9E

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

Color values

HEX#6F1D9E
RGBrgb(111, 29, 158)
HSLhsl(278, 69%, 37%)
HSVhsv(278, 82%, 62%)
CMYKcmyk(29.7%, 81.6%, 0%, 38%)
CIE-LABlab(31.18, 55.35, -52.93)
CIE-LCHlch(31.18, 76.58, 316.28°)
OKLaboklab(43.19% 0.1216 -0.1504)
OKLCHoklch(43.19% 0.193 309)
XYZxyz(13.1652, 6.7271, 32.9460)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D9E #4C9E1D
analogous
#2F1D9E #6F1D9E #9E1D8D
triadic
#6F1D9E #9E6F1D #1D9E6F
tetradic
#6F1D9E #9E2F1D #4C9E1D #1D8D9E
square
#6F1D9E #9E2F1D #4C9E1D #1D8D9E
split-complementary
#6F1D9E #8D9E1D #1D9E2F
monochromatic
#260A37 #4B146A #6F1D9E #9326D2 #AD56E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1D9E#FFFFFF#000000##FFFFFF
##6F1D9E1.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)
#0046A1
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#683F5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1d9e;
/* rgb */ color: rgb(111, 29, 158);
/* oklch */ color: oklch(43.2% 0.193 309.0);
Tailwind
colors: {
  custom: {
    50: '#9d64bc',
    500: '#6f1d9e',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d9e;
$custom-light: #9d64bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d9e",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 278.14,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.19343,
    "h": 309
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#6F1D9E
secondary
#7CC354
accent
#EC3C7C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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