#6A1168#6A1168

#6A1168 is a dark, vivid purple. Relative luminance 0.045; OKLCH L 37.5% C 0.156 H 329.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#6A1168
RGBrgb(106, 17, 104)
HSLhsl(301, 72%, 24%)
HSVhsv(301, 84%, 42%)
CMYKcmyk(0%, 84%, 1.9%, 58.4%)
CIE-LABlab(25.15, 47.46, -28.78)
CIE-LCHlch(25.15, 55.50, 328.77°)
OKLaboklab(37.55% 0.1336 -0.0797)
OKLCHoklch(37.55% 0.156 329.2)
XYZxyz(8.6429, 4.4652, 13.5007)
Luminance0.0447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1168 #116A13
analogous
#40116A #6A1168 #6A113C
triadic
#6A1168 #686A11 #11686A
tetradic
#6A1168 #6A4011 #116A13 #113C6A
square
#6A1168 #6A4011 #116A13 #113C6A
split-complementary
#6A1168 #3C6A11 #116A40
monochromatic
#1A041A #350934 #6A1168 #9F199C #D322CF

Accessibility & contrast

On white

11.09
#6A1168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6A1168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1168
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1168#FFFFFF#000000##FFFFFF
##6A11681.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#2D4066
Tritanopia (blue-blind)
#6E203D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6a1168;
/* rgb */ color: rgb(106, 17, 104);
/* oklch */ color: oklch(37.5% 0.156 329.2);
Tailwind
colors: {
  custom: {
    50: '#985c93',
    500: '#6a1168',
    950: '#000000',
  },
}
SCSS
$custom: #6a1168;
$custom-light: #985c93;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1168",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 301.348,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3755,
    "c": 0.15553,
    "h": 329.2
  },
  "luminance": 0.04465
}

Semantic roles & 50–950 ramp

primary
#6A1168
secondary
#35A237
accent
#EF3D39
background
#F9F5F9
surface
#F2E9F1
border
#CCC5CB
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6A1168

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

Preview Lab → · Contrast checker → · Palette generator →

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