#6F17A0#6F17A0

#6F17A0 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.9% C 0.200 H 308.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6F17A0
RGBrgb(111, 23, 160)
HSLhsl(279, 75%, 36%)
HSVhsv(279, 86%, 63%)
CMYKcmyk(30.6%, 85.6%, 0%, 37.3%)
CIE-LABlab(30.71, 57.62, -54.90)
CIE-LCHlch(30.71, 79.58, 316.38°)
OKLaboklab(42.92% 0.1253 -0.1561)
OKLCHoklch(42.92% 0.2 308.7)
XYZxyz(13.2058, 6.5306, 33.8157)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F17A0 #48A017
analogous
#2A17A0 #6F17A0 #A0178C
triadic
#6F17A0 #A06F17 #17A06F
tetradic
#6F17A0 #A02A17 #48A017 #178CA0
square
#6F17A0 #A02A17 #48A017 #178CA0
split-complementary
#6F17A0 #8CA017 #17A02A
monochromatic
#250835 #4A0F6A #6F17A0 #941FD6 #AF4CE5

Accessibility & contrast

On white

9.11
#6F17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6F17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F17A0
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F17A0#FFFFFF#000000##FFFFFF
##6F17A01.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#673D5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f17a0;
/* rgb */ color: rgb(111, 23, 160);
/* oklch */ color: oklch(42.9% 0.200 308.7);
Tailwind
colors: {
  custom: {
    50: '#9e62bd',
    500: '#6f17a0',
    950: '#000000',
  },
}
SCSS
$custom: #6f17a0;
$custom-light: #9e62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f17a0",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 278.54,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42918,
    "c": 0.2002,
    "h": 308.7
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#6F17A0
secondary
#78C74C
accent
#F13679
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6F17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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