#6F1FA1#6F1FA1

#6F1FA1 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.6% C 0.194 H 307.9°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6F1FA1
RGBrgb(111, 31, 161)
HSLhsl(277, 68%, 38%)
HSVhsv(277, 81%, 63%)
CMYKcmyk(31.1%, 80.7%, 0%, 36.9%)
CIE-LABlab(31.65, 55.33, -53.98)
CIE-LCHlch(31.65, 77.29, 315.71°)
OKLaboklab(43.6% 0.1193 -0.1535)
OKLCHoklch(43.6% 0.194 307.9)
XYZxyz(13.4772, 6.9329, 34.3395)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FA1 #51A11F
analogous
#2E1FA1 #6F1FA1 #A11F92
triadic
#6F1FA1 #A16F1F #1FA16F
tetradic
#6F1FA1 #A12E1F #51A11F #1F92A1
square
#6F1FA1 #A12E1F #51A11F #1F92A1
split-complementary
#6F1FA1 #92A11F #1FA12E
monochromatic
#280B3A #4C156E #6F1FA1 #9229D4 #AC5BDF

Accessibility & contrast

On white

8.80
#6F1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6F1FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FA1
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FA1#FFFFFF#000000##FFFFFF
##6F1FA11.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#674161
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f1fa1;
/* rgb */ color: rgb(111, 31, 161);
/* oklch */ color: oklch(43.6% 0.194 307.9);
Tailwind
colors: {
  custom: {
    50: '#9e65be',
    500: '#6f1fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fa1;
$custom-light: #9e65be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fa1",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 161
  },
  "hsl": {
    "h": 276.923,
    "s": 67.708,
    "l": 37.647
  },
  "oklch": {
    "l": 0.43598,
    "c": 0.19441,
    "h": 307.9
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#6F1FA1
secondary
#82C458
accent
#EB3D80
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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