#6A1163#6A1163

#6A1163 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.2% C 0.152 H 331.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#6A1163
RGBrgb(106, 17, 99)
HSLhsl(305, 72%, 24%)
HSVhsv(305, 84%, 42%)
CMYKcmyk(0%, 84%, 6.6%, 58.4%)
CIE-LABlab(24.85, 46.61, -26.00)
CIE-LCHlch(24.85, 53.37, 330.85°)
OKLaboklab(37.23% 0.1336 -0.0716)
OKLCHoklch(37.23% 0.152 331.8)
XYZxyz(8.3965, 4.3666, 12.2026)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1163 #116A18
analogous
#45116A #6A1163 #6A1137
triadic
#6A1163 #636A11 #11636A
tetradic
#6A1163 #6A4511 #116A18 #11376A
square
#6A1163 #6A4511 #116A18 #11376A
split-complementary
#6A1163 #376A11 #116A45
monochromatic
#1A0419 #350932 #6A1163 #9F1994 #D322C6

Accessibility & contrast

On white

11.21
#6A1163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6A1163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1163
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1163#FFFFFF#000000##FFFFFF
##6A11631.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083365
Deuteranopia (green-blind)
#303F61
Tritanopia (blue-blind)
#6F1D3A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6a1163;
/* rgb */ color: rgb(106, 17, 99);
/* oklch */ color: oklch(37.2% 0.152 331.8);
Tailwind
colors: {
  custom: {
    50: '#985c90',
    500: '#6a1163',
    950: '#000000',
  },
}
SCSS
$custom: #6a1163;
$custom-light: #985c90;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1163",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 99
  },
  "hsl": {
    "h": 304.719,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.37234,
    "c": 0.15162,
    "h": 331.8
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#6A1163
secondary
#35A23E
accent
#EF4739
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6A1163

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

Preview Lab → · Contrast checker → · Palette generator →

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