#6F17B3#6F17B3

#6F17B3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.6% C 0.217 H 303.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#6F17B3
RGBrgb(111, 23, 179)
HSLhsl(274, 77%, 40%)
HSVhsv(274, 87%, 70%)
CMYKcmyk(38%, 87.2%, 0%, 29.8%)
CIE-LABlab(32.36, 61.72, -63.63)
CIE-LCHlch(32.36, 88.65, 314.13°)
OKLaboklab(44.56% 0.119 -0.1818)
OKLCHoklch(44.56% 0.217 303.2)
XYZxyz(14.9967, 7.2470, 43.2478)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F17B3 #5BB317
analogous
#2117B3 #6F17B3 #B317A9
triadic
#6F17B3 #B36F17 #17B36F
tetradic
#6F17B3 #B32117 #5BB317 #17A9B3
square
#6F17B3 #B32117 #5BB317 #17A9B3
split-complementary
#6F17B3 #A9B317 #17B321
monochromatic
#2C0947 #4D107D #6F17B3 #9024E3 #AB5BEA

Accessibility & contrast

On white

8.57
#6F17B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#6F17B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F17B3
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F17B3#FFFFFF#000000##FFFFFF
##6F17B31.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#004CB0
Tritanopia (blue-blind)
#61466A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6f17b3;
/* rgb */ color: rgb(111, 23, 179);
/* oklch */ color: oklch(44.6% 0.217 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f63cb',
    500: '#6f17b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f17b3;
$custom-light: #9f63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f17b3",
  "rgb": {
    "r": 111,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 273.846,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.21729,
    "h": 303.2
  },
  "luminance": 0.07247
}

Semantic roles & 50–950 ramp

primary
#6F17B3
secondary
#8BCD58
accent
#F43488
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #6F17B3

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

Preview Lab → · Contrast checker → · Palette generator →

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