#6F1FA5#6F1FA5

#6F1FA5 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.198 H 306.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6F1FA5
RGBrgb(111, 31, 165)
HSLhsl(276, 68%, 38%)
HSVhsv(276, 81%, 65%)
CMYKcmyk(32.7%, 81.2%, 0%, 35.3%)
CIE-LABlab(31.98, 56.21, -55.86)
CIE-LCHlch(31.98, 79.25, 315.18°)
OKLaboklab(43.93% 0.1183 -0.159)
OKLCHoklch(43.93% 0.198 306.6)
XYZxyz(13.8356, 7.0762, 36.2270)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1FA5 #55A51F
analogous
#2C1FA5 #6F1FA5 #A51F98
triadic
#6F1FA5 #A56F1F #1FA56F
tetradic
#6F1FA5 #A52C1F #55A51F #1F98A5
square
#6F1FA5 #A52C1F #55A51F #1F98A5
split-complementary
#6F1FA5 #98A51F #1FA52C
monochromatic
#2A0C3E #4C1571 #6F1FA5 #912AD7 #AC5EE1

Accessibility & contrast

On white

8.69
#6F1FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6F1FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1FA5
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1FA5#FFFFFF#000000##FFFFFF
##6F1FA51.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#654363
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6f1fa5;
/* rgb */ color: rgb(111, 31, 165);
/* oklch */ color: oklch(43.9% 0.198 306.6);
Tailwind
colors: {
  custom: {
    50: '#9e65c1',
    500: '#6f1fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6f1fa5;
$custom-light: #9e65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1fa5",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 165
  },
  "hsl": {
    "h": 275.821,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43927,
    "c": 0.19818,
    "h": 306.6
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#6F1FA5
secondary
#86C55B
accent
#EB3D83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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