#6F1BA1#6F1BA1

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

Color values

HEX#6F1BA1
RGBrgb(111, 27, 161)
HSLhsl(278, 71%, 37%)
HSVhsv(278, 83%, 63%)
CMYKcmyk(31.1%, 83.2%, 0%, 36.9%)
CIE-LABlab(31.20, 56.65, -54.71)
CIE-LCHlch(31.20, 78.76, 315.99°)
OKLaboklab(43.28% 0.1223 -0.1556)
OKLCHoklch(43.28% 0.198 308.2)
XYZxyz(13.3791, 6.7368, 34.3068)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1BA1 #4DA11B
analogous
#2C1BA1 #6F1BA1 #A11B90
triadic
#6F1BA1 #A16F1B #1BA16F
tetradic
#6F1BA1 #A12C1B #4DA11B #1B90A1
square
#6F1BA1 #A12C1B #4DA11B #1B90A1
split-complementary
#6F1BA1 #90A11B #1BA12C
monochromatic
#270938 #4B126D #6F1BA1 #9324D5 #AD54E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1BA1#FFFFFF#000000##FFFFFF
##6F1BA11.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)
#0047A5
Deuteranopia (green-blind)
#004A9E
Tritanopia (blue-blind)
#673F60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1ba1;
/* rgb */ color: rgb(111, 27, 161);
/* oklch */ color: oklch(43.3% 0.198 308.2);
Tailwind
colors: {
  custom: {
    50: '#9e64be',
    500: '#6f1ba1',
    950: '#000000',
  },
}
SCSS
$custom: #6f1ba1;
$custom-light: #9e64be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1ba1",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 161
  },
  "hsl": {
    "h": 277.612,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43282,
    "c": 0.19794,
    "h": 308.2
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

primary
#6F1BA1
secondary
#7DC552
accent
#EE3A7D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1BA1

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

Preview Lab → · Contrast checker → · Palette generator →

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