#6F1E9A#6F1E9A

#6F1E9A is a dark, vivid violet. Relative luminance 0.066; OKLCH L 43.0% C 0.189 H 310.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#6F1E9A
RGBrgb(111, 30, 154)
HSLhsl(279, 67%, 36%)
HSVhsv(279, 81%, 60%)
CMYKcmyk(27.9%, 80.5%, 0%, 39.6%)
CIE-LABlab(30.98, 54.15, -50.82)
CIE-LCHlch(30.98, 74.26, 316.82°)
OKLaboklab(42.95% 0.1218 -0.1442)
OKLCHoklch(42.95% 0.189 310.2)
XYZxyz(12.8514, 6.6414, 31.1705)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1E9A #499A1E
analogous
#311E9A #6F1E9A #9A1E87
triadic
#6F1E9A #9A6F1E #1E9A6F
tetradic
#6F1E9A #9A311E #499A1E #1E879A
square
#6F1E9A #9A311E #499A1E #1E879A
split-complementary
#6F1E9A #879A1E #1E9A31
monochromatic
#250A34 #4A1467 #6F1E9A #9428CD #AE55DE

Accessibility & contrast

On white

9.02
#6F1E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6F1E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1E9A
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1E9A#FFFFFF#000000##FFFFFF
##6F1E9A1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#693D5C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6f1e9a;
/* rgb */ color: rgb(111, 30, 154);
/* oklch */ color: oklch(43.0% 0.189 310.2);
Tailwind
colors: {
  custom: {
    50: '#9d64b9',
    500: '#6f1e9a',
    950: '#000000',
  },
}
SCSS
$custom: #6f1e9a;
$custom-light: #9d64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1e9a",
  "rgb": {
    "r": 111,
    "g": 30,
    "b": 154
  },
  "hsl": {
    "h": 279.194,
    "s": 67.391,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.18878,
    "h": 310.2
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#6F1E9A
secondary
#79C153
accent
#EA3E79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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