#6D145E#6D145E

#6D145E is a dark, vivid pink. Relative luminance 0.046; OKLCH L 37.7% C 0.147 H 336.1°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#6D145E
RGBrgb(109, 20, 94)
HSLhsl(310, 69%, 25%)
HSVhsv(310, 82%, 43%)
CMYKcmyk(0%, 81.7%, 13.8%, 57.3%)
CIE-LABlab(25.44, 45.63, -21.74)
CIE-LCHlch(25.44, 50.55, 334.53°)
OKLaboklab(37.68% 0.134 -0.0593)
OKLCHoklch(37.68% 0.147 336.1)
XYZxyz(8.5774, 4.5605, 11.0160)
Luminance0.0456 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D145E #146D23
analogous
#4F146D #6D145E #6D1432
triadic
#6D145E #5E6D14 #145E6D
tetradic
#6D145E #6D4F14 #146D23 #14326D
square
#6D145E #6D4F14 #146D23 #14326D
split-complementary
#6D145E #326D14 #146D4F
monochromatic
#1A0516 #390B31 #6D145E #A11D8B #D427B7

Accessibility & contrast

On white

10.98
#6D145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#6D145E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D145E
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D145E#FFFFFF#000000##FFFFFF
##6D145E1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153460
Deuteranopia (green-blind)
#36415C
Tritanopia (blue-blind)
#731B38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6d145e;
/* rgb */ color: rgb(109, 20, 94);
/* oklch */ color: oklch(37.7% 0.147 336.1);
Tailwind
colors: {
  custom: {
    50: '#9a5d8c',
    500: '#6d145e',
    950: '#000000',
  },
}
SCSS
$custom: #6d145e;
$custom-light: #9a5d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#6d145e",
  "rgb": {
    "r": 109,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 310.112,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.37676,
    "c": 0.14656,
    "h": 336.1
  },
  "luminance": 0.0456
}

Semantic roles & 50–950 ramp

primary
#6D145E
secondary
#39A44B
accent
#EC5A3C
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #6D145E

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

Preview Lab → · Contrast checker → · Palette generator →

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