#6F1FAB#6F1FAB

#6F1FAB is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.204 H 304.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#6F1FAB
RGBrgb(111, 31, 171)
HSLhsl(274, 69%, 40%)
HSVhsv(274, 82%, 67%)
CMYKcmyk(35.1%, 81.9%, 0%, 32.9%)
CIE-LABlab(32.48, 57.55, -58.66)
CIE-LCHlch(32.48, 82.17, 314.45°)
OKLaboklab(44.43% 0.1166 -0.1672)
OKLCHoklch(44.43% 0.204 304.9)
XYZxyz(14.3945, 7.2998, 39.1709)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FAB #5BAB1F
analogous
#291FAB #6F1FAB #AB1FA1
triadic
#6F1FAB #AB6F1F #1FAB6F
tetradic
#6F1FAB #AB291F #5BAB1F #1FA1AB
square
#6F1FAB #AB291F #5BAB1F #1FA1AB
split-complementary
#6F1FAB #A1AB1F #1FAB29
monochromatic
#2C0C43 #4D1677 #6F1FAB #902ED9 #AB62E3

Accessibility & contrast

On white

8.54
#6F1FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6F1FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FAB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FAB#FFFFFF#000000##FFFFFF
##6F1FAB1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#634666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f1fab;
/* rgb */ color: rgb(111, 31, 171);
/* oklch */ color: oklch(44.4% 0.204 304.9);
Tailwind
colors: {
  custom: {
    50: '#9e66c5',
    500: '#6f1fab',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fab;
$custom-light: #9e66c5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fab",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 171
  },
  "hsl": {
    "h": 274.286,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.20385,
    "h": 304.9
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#6F1FAB
secondary
#8BC75E
accent
#EC3C87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F1FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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