#6A117E#6A117E

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

Color values

HEX#6A117E
RGBrgb(106, 17, 126)
HSLhsl(289, 76%, 28%)
HSVhsv(289, 87%, 49%)
CMYKcmyk(15.9%, 86.5%, 0%, 50.6%)
CIE-LABlab(26.65, 51.47, -40.47)
CIE-LCHlch(26.65, 65.48, 321.82°)
OKLaboklab(39.09% 0.131 -0.1139)
OKLCHoklch(39.09% 0.174 319)
XYZxyz(9.9097, 4.9719, 20.1723)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A117E #257E11
analogous
#33117E #6A117E #7E115B
triadic
#6A117E #7E6A11 #117E6A
tetradic
#6A117E #7E3311 #257E11 #115B7E
square
#6A117E #7E3311 #257E11 #115B7E
split-complementary
#6A117E #5B7E11 #117E33
monochromatic
#17041B #3D0A48 #6A117E #9718B4 #C027E2

Accessibility & contrast

On white

10.53
#6A117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A117E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A117E#FFFFFF#000000##FFFFFF
##6A117E1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a117e;
/* rgb */ color: rgb(106, 17, 126);
/* oklch */ color: oklch(39.1% 0.174 319.0);
Tailwind
colors: {
  custom: {
    50: '#995da4',
    500: '#6a117e',
    950: '#000000',
  },
}
SCSS
$custom: #6a117e;
$custom-light: #995da4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a117e",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 288.991,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39088,
    "c": 0.17361,
    "h": 319
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#6A117E
secondary
#4EB437
accent
#F33558
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A117E

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

Preview Lab → · Contrast checker → · Palette generator →

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