#6F1BAA#6F1BAA

#6F1BAA is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.206 H 305.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#6F1BAA
RGBrgb(111, 27, 170)
HSLhsl(275, 73%, 39%)
HSVhsv(275, 84%, 67%)
CMYKcmyk(34.7%, 84.1%, 0%, 33.3%)
CIE-LABlab(31.96, 58.61, -58.91)
CIE-LCHlch(31.96, 83.10, 314.85°)
OKLaboklab(44.04% 0.1196 -0.168)
OKLCHoklch(44.04% 0.206 305.5)
XYZxyz(14.2015, 7.0658, 38.6381)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1BAA #56AA1B
analogous
#271BAA #6F1BAA #AA1B9D
triadic
#6F1BAA #AA6F1B #1BAA6F
tetradic
#6F1BAA #AA271B #56AA1B #1B9DAA
square
#6F1BAA #AA271B #56AA1B #1B9DAA
split-complementary
#6F1BAA #9DAA1B #1BAA27
monochromatic
#2A0A40 #4D1375 #6F1BAA #9126DC #AC5BE5

Accessibility & contrast

On white

8.70
#6F1BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6F1BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1BAA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1BAA#FFFFFF#000000##FFFFFF
##6F1BAA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#004BA7
Tritanopia (blue-blind)
#644465
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f1baa;
/* rgb */ color: rgb(111, 27, 170);
/* oklch */ color: oklch(44.0% 0.206 305.5);
Tailwind
colors: {
  custom: {
    50: '#9e64c4',
    500: '#6f1baa',
    950: '#000000',
  },
}
SCSS
$custom: #6f1baa;
$custom-light: #9e64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1baa",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 170
  },
  "hsl": {
    "h": 275.245,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4404,
    "c": 0.20621,
    "h": 305.5
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#6F1BAA
secondary
#87C958
accent
#EF3984
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F1BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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