#6F1EA1#6F1EA1

#6F1EA1 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.195 H 307.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6F1EA1
RGBrgb(111, 30, 161)
HSLhsl(277, 69%, 37%)
HSVhsv(277, 81%, 63%)
CMYKcmyk(31.1%, 81.4%, 0%, 36.9%)
CIE-LABlab(31.54, 55.67, -54.17)
CIE-LCHlch(31.54, 77.67, 315.78°)
OKLaboklab(43.52% 0.1201 -0.154)
OKLCHoklch(43.52% 0.195 307.9)
XYZxyz(13.4515, 6.8815, 34.3309)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1EA1 #50A11E
analogous
#2D1EA1 #6F1EA1 #A11E92
triadic
#6F1EA1 #A16F1E #1EA16F
tetradic
#6F1EA1 #A12D1E #50A11E #1E92A1
square
#6F1EA1 #A12D1E #50A11E #1E92A1
split-complementary
#6F1EA1 #92A11E #1EA12D
monochromatic
#280B3A #4B146D #6F1EA1 #9328D5 #AD59E0

Accessibility & contrast

On white

8.84
#6F1EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6F1EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1EA1
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1EA1#FFFFFF#000000##FFFFFF
##6F1EA11.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#674160
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6f1ea1;
/* rgb */ color: rgb(111, 30, 161);
/* oklch */ color: oklch(43.5% 0.195 307.9);
Tailwind
colors: {
  custom: {
    50: '#9e65be',
    500: '#6f1ea1',
    950: '#000000',
  },
}
SCSS
$custom: #6f1ea1;
$custom-light: #9e65be;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1ea1",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 161
  },
  "hsl": {
    "h": 277.099,
    "s": 68.586,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43516,
    "c": 0.19532,
    "h": 307.9
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#6F1EA1
secondary
#80C457
accent
#EB3C7F
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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