#6F1F9D#6F1F9D

#6F1F9D is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.191 H 309.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6F1F9D
RGBrgb(111, 31, 157)
HSLhsl(278, 67%, 37%)
HSVhsv(278, 80%, 62%)
CMYKcmyk(29.3%, 80.3%, 0%, 38.4%)
CIE-LABlab(31.33, 54.45, -52.07)
CIE-LCHlch(31.33, 75.34, 316.28°)
OKLaboklab(43.27% 0.1203 -0.1479)
OKLCHoklch(43.27% 0.191 309.1)
XYZxyz(13.1301, 6.7941, 32.5114)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F9D #4D9D1F
analogous
#301F9D #6F1F9D #9D1F8C
triadic
#6F1F9D #9D6F1F #1F9D6F
tetradic
#6F1F9D #9D301F #4D9D1F #1F8C9D
square
#6F1F9D #9D301F #4D9D1F #1F8C9D
split-complementary
#6F1F9D #8C9D1F #1F9D30
monochromatic
#270B37 #4B156A #6F1F9D #9329D0 #AD58DE

Accessibility & contrast

On white

8.90
#6F1F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6F1F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F9D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F9D#FFFFFF#000000##FFFFFF
##6F1F9D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#683F5E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f1f9d;
/* rgb */ color: rgb(111, 31, 157);
/* oklch */ color: oklch(43.3% 0.191 309.1);
Tailwind
colors: {
  custom: {
    50: '#9d65bb',
    500: '#6f1f9d',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f9d;
$custom-light: #9d65bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f9d",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 157
  },
  "hsl": {
    "h": 278.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43274,
    "c": 0.19063,
    "h": 309.1
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#6F1F9D
secondary
#7DC256
accent
#EA3E7D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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