#6F1EA6#6F1EA6

#6F1EA6 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.200 H 306.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6F1EA6
RGBrgb(111, 30, 166)
HSLhsl(276, 69%, 38%)
HSVhsv(276, 82%, 65%)
CMYKcmyk(33.1%, 81.9%, 0%, 34.9%)
CIE-LABlab(31.95, 56.77, -56.52)
CIE-LCHlch(31.95, 80.11, 315.13°)
OKLaboklab(43.93% 0.1187 -0.161)
OKLCHoklch(43.93% 0.2 306.4)
XYZxyz(13.9012, 7.0614, 36.6996)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1EA6 #55A61E
analogous
#2B1EA6 #6F1EA6 #A61E99
triadic
#6F1EA6 #A66F1E #1EA66F
tetradic
#6F1EA6 #A62B1E #55A61E #1E99A6
square
#6F1EA6 #A62B1E #55A61E #1E99A6
split-complementary
#6F1EA6 #99A61E #1EA62B
monochromatic
#2A0B3E #4C1572 #6F1EA6 #9129D8 #AC5DE2

Accessibility & contrast

On white

8.71
#6F1EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1EA6
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1EA6#FFFFFF#000000##FFFFFF
##6F1EA61.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1ea6;
/* rgb */ color: rgb(111, 30, 166);
/* oklch */ color: oklch(43.9% 0.200 306.4);
Tailwind
colors: {
  custom: {
    50: '#9e65c1',
    500: '#6f1ea6',
    950: '#000000',
  },
}
SCSS
$custom: #6f1ea6;
$custom-light: #9e65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1ea6",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 166
  },
  "hsl": {
    "h": 275.735,
    "s": 69.388,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43929,
    "c": 0.20001,
    "h": 306.4
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#6F1EA6
secondary
#86C65A
accent
#EC3C83
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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