#6F1D9D#6F1D9D

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

Color values

HEX#6F1D9D
RGBrgb(111, 29, 157)
HSLhsl(278, 69%, 36%)
HSVhsv(278, 82%, 62%)
CMYKcmyk(29.3%, 81.5%, 0%, 38.4%)
CIE-LABlab(31.10, 55.13, -52.45)
CIE-LCHlch(31.10, 76.10, 316.43°)
OKLaboklab(43.11% 0.1219 -0.149)
OKLCHoklch(43.11% 0.193 309.3)
XYZxyz(13.0795, 6.6928, 32.4946)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D9D #4B9D1D
analogous
#2F1D9D #6F1D9D #9D1D8B
triadic
#6F1D9D #9D6F1D #1D9D6F
tetradic
#6F1D9D #9D2F1D #4B9D1D #1D8B9D
square
#6F1D9D #9D2F1D #4B9D1D #1D8B9D
split-complementary
#6F1D9D #8B9D1D #1D9D2F
monochromatic
#260A36 #4A1369 #6F1D9D #9427D1 #AE55E0

Accessibility & contrast

On white

8.98
#6F1D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6F1D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1D9D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D9D#FFFFFF#000000##FFFFFF
##6F1D9D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#683E5E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1d9d;
/* rgb */ color: rgb(111, 29, 157);
/* oklch */ color: oklch(43.1% 0.193 309.3);
Tailwind
colors: {
  custom: {
    50: '#9d64bb',
    500: '#6f1d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d9d;
$custom-light: #9d64bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d9d",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 157
  },
  "hsl": {
    "h": 278.438,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43109,
    "c": 0.1925,
    "h": 309.3
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#6F1D9D
secondary
#7BC353
accent
#EC3C7B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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