#6F1EA5#6F1EA5

#6F1EA5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.8% C 0.199 H 306.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#6F1EA5
RGBrgb(111, 30, 165)
HSLhsl(276, 69%, 38%)
HSVhsv(276, 82%, 65%)
CMYKcmyk(32.7%, 81.8%, 0%, 35.3%)
CIE-LABlab(31.86, 56.55, -56.05)
CIE-LCHlch(31.86, 79.62, 315.25°)
OKLaboklab(43.85% 0.119 -0.1596)
OKLCHoklch(43.85% 0.199 306.7)
XYZxyz(13.8099, 7.0248, 36.2184)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1EA5 #54A51E
analogous
#2B1EA5 #6F1EA5 #A51E97
triadic
#6F1EA5 #A56F1E #1EA56F
tetradic
#6F1EA5 #A52B1E #54A51E #1E97A5
square
#6F1EA5 #A52B1E #54A51E #1E97A5
split-complementary
#6F1EA5 #97A51E #1EA52B
monochromatic
#290B3D #4C1571 #6F1EA5 #9228D8 #AC5CE1

Accessibility & contrast

On white

8.73
#6F1EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1EA5
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1EA5#FFFFFF#000000##FFFFFF
##6F1EA51.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1ea5;
/* rgb */ color: rgb(111, 30, 165);
/* oklch */ color: oklch(43.8% 0.199 306.7);
Tailwind
colors: {
  custom: {
    50: '#9e65c1',
    500: '#6f1ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6f1ea5;
$custom-light: #9e65c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1ea5",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 165
  },
  "hsl": {
    "h": 276,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.19906,
    "h": 306.7
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

primary
#6F1EA5
secondary
#85C559
accent
#EC3C82
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F1EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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