#6F1FAC#6F1FAC

#6F1FAC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.5% C 0.205 H 304.6°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#6F1FAC
RGBrgb(111, 31, 172)
HSLhsl(274, 69%, 40%)
HSVhsv(274, 82%, 67%)
CMYKcmyk(35.5%, 82%, 0%, 32.5%)
CIE-LABlab(32.56, 57.78, -59.12)
CIE-LCHlch(32.56, 82.66, 314.34°)
OKLaboklab(44.52% 0.1163 -0.1686)
OKLCHoklch(44.52% 0.205 304.6)
XYZxyz(14.4902, 7.3381, 39.6747)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FAC #5CAC1F
analogous
#291FAC #6F1FAC #AC1FA2
triadic
#6F1FAC #AC6F1F #1FAC6F
tetradic
#6F1FAC #AC291F #5CAC1F #1FA2AC
square
#6F1FAC #AC291F #5CAC1F #1FA2AC
split-complementary
#6F1FAC #A2AC1F #1FAC29
monochromatic
#2C0C44 #4E1678 #6F1FAC #902FD9 #AB63E3

Accessibility & contrast

On white

8.51
#6F1FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6F1FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FAC
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FAC#FFFFFF#000000##FFFFFF
##6F1FAC1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#634667
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f1fac;
/* rgb */ color: rgb(111, 31, 172);
/* oklch */ color: oklch(44.5% 0.205 304.6);
Tailwind
colors: {
  custom: {
    50: '#9e66c6',
    500: '#6f1fac',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fac;
$custom-light: #9e66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fac",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 274.043,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44515,
    "c": 0.2048,
    "h": 304.6
  },
  "luminance": 0.07338
}

Semantic roles & 50–950 ramp

primary
#6F1FAC
secondary
#8CC85F
accent
#EC3C88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F1FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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