#6A115B#6A115B

#6A115B is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.8% C 0.146 H 336.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#6A115B
RGBrgb(106, 17, 91)
HSLhsl(310, 72%, 24%)
HSVhsv(310, 84%, 42%)
CMYKcmyk(0%, 84%, 14.2%, 58.4%)
CIE-LABlab(24.39, 45.33, -21.45)
CIE-LCHlch(24.39, 50.15, 334.67°)
OKLaboklab(36.76% 0.1333 -0.0585)
OKLCHoklch(36.76% 0.146 336.3)
XYZxyz(8.0328, 4.2212, 10.2872)
Luminance0.0422 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A115B #116A20
analogous
#4D116A #6A115B #6A112F
triadic
#6A115B #5B6A11 #115B6A
tetradic
#6A115B #6A4D11 #116A20 #112F6A
square
#6A115B #6A4D11 #116A20 #112F6A
split-complementary
#6A115B #2F6A11 #116A4D
monochromatic
#1A0417 #35092E #6A115B #9F1988 #D322B6

Accessibility & contrast

On white

11.39
#6A115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#6A115B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A115B
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A115B#FFFFFF#000000##FFFFFF
##6A115B1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13315D
Deuteranopia (green-blind)
#343F59
Tritanopia (blue-blind)
#701836
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #6a115b;
/* rgb */ color: rgb(106, 17, 91);
/* oklch */ color: oklch(36.8% 0.146 336.3);
Tailwind
colors: {
  custom: {
    50: '#985c89',
    500: '#6a115b',
    950: '#000000',
  },
}
SCSS
$custom: #6a115b;
$custom-light: #985c89;
$custom-dark: #000000;
JSON
{
  "hex": "#6a115b",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 310.112,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36757,
    "c": 0.14558,
    "h": 336.3
  },
  "luminance": 0.0422
}

Semantic roles & 50–950 ramp

primary
#6A115B
secondary
#35A247
accent
#EF5739
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A115B

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

Preview Lab → · Contrast checker → · Palette generator →

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