#6B117E#6B117E

#6B117E is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.174 H 319.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#6B117E
RGBrgb(107, 17, 126)
HSLhsl(290, 76%, 28%)
HSVhsv(290, 87%, 49%)
CMYKcmyk(15.1%, 86.5%, 0%, 50.6%)
CIE-LABlab(26.83, 51.66, -40.18)
CIE-LCHlch(26.83, 65.45, 322.12°)
OKLaboklab(39.25% 0.1323 -0.113)
OKLCHoklch(39.25% 0.174 319.5)
XYZxyz(10.0293, 5.0336, 20.1779)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B117E #247E11
analogous
#34117E #6B117E #7E115A
triadic
#6B117E #7E6B11 #117E6B
tetradic
#6B117E #7E3411 #247E11 #115A7E
square
#6B117E #7E3411 #247E11 #115A7E
split-complementary
#6B117E #5A7E11 #117E34
monochromatic
#17041B #3D0A48 #6B117E #9918B4 #C127E2

Accessibility & contrast

On white

10.47
#6B117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B117E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B117E#FFFFFF#000000##FFFFFF
##6B117E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#1B427C
Tritanopia (blue-blind)
#6B2B4A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b117e;
/* rgb */ color: rgb(107, 17, 126);
/* oklch */ color: oklch(39.2% 0.174 319.5);
Tailwind
colors: {
  custom: {
    50: '#995ea4',
    500: '#6b117e',
    950: '#000000',
  },
}
SCSS
$custom: #6b117e;
$custom-light: #995ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b117e",
  "rgb": {
    "r": 107,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 289.541,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.17399,
    "h": 319.5
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#6B117E
secondary
#4DB437
accent
#F33556
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B117E

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

Preview Lab → · Contrast checker → · Palette generator →

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