#6F1FA8#6F1FA8

#6F1FA8 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.201 H 305.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6F1FA8
RGBrgb(111, 31, 168)
HSLhsl(275, 69%, 39%)
HSVhsv(275, 82%, 66%)
CMYKcmyk(33.9%, 81.5%, 0%, 34.1%)
CIE-LABlab(32.23, 56.88, -57.27)
CIE-LCHlch(32.23, 80.71, 314.81°)
OKLaboklab(44.18% 0.1174 -0.1631)
OKLCHoklch(44.18% 0.201 305.7)
XYZxyz(14.1118, 7.1867, 37.6819)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FA8 #58A81F
analogous
#2A1FA8 #6F1FA8 #A81F9D
triadic
#6F1FA8 #A86F1F #1FA86F
tetradic
#6F1FA8 #A82A1F #58A81F #1F9DA8
square
#6F1FA8 #A82A1F #58A81F #1F9DA8
split-complementary
#6F1FA8 #9DA81F #1FA82A
monochromatic
#2B0C41 #4D1574 #6F1FA8 #912CD8 #AC60E2

Accessibility & contrast

On white

8.62
#6F1FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6F1FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FA8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FA8#FFFFFF#000000##FFFFFF
##6F1FA81.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#644465
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f1fa8;
/* rgb */ color: rgb(111, 31, 168);
/* oklch */ color: oklch(44.2% 0.201 305.7);
Tailwind
colors: {
  custom: {
    50: '#9e66c3',
    500: '#6f1fa8',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fa8;
$custom-light: #9e66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fa8",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 168
  },
  "hsl": {
    "h": 275.036,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44177,
    "c": 0.20101,
    "h": 305.7
  },
  "luminance": 0.07187
}

Semantic roles & 50–950 ramp

primary
#6F1FA8
secondary
#89C65D
accent
#EC3C85
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F1FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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