#6A2F5E#6A2F5E

#6A2F5E is a dark, moderate pink. Relative luminance 0.059; OKLCH L 40.3% C 0.105 H 335.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6A2F5E
RGBrgb(106, 47, 94)
HSLhsl(312, 39%, 30%)
HSVhsv(312, 56%, 42%)
CMYKcmyk(0%, 55.7%, 11.3%, 58.4%)
CIE-LABlab(29.17, 33.02, -15.97)
CIE-LCHlch(29.17, 36.68, 334.18°)
OKLaboklab(40.3% 0.0959 -0.0432)
OKLCHoklch(40.3% 0.105 335.7)
XYZxyz(8.9808, 5.9060, 11.2545)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2F5E #2F6A3B
analogous
#582F6A #6A2F5E #6A2F41
triadic
#6A2F5E #5E6A2F #2F5E6A
tetradic
#6A2F5E #6A582F #2F6A3B #2F416A
square
#6A2F5E #6A582F #2F6A3B #2F416A
split-complementary
#6A2F5E #416A2F #2F6A58
monochromatic
#150913 #401C38 #6A2F5E #944284 #B75CA5

Accessibility & contrast

On white

9.63
#6A2F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6A2F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2F5E
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2F5E#FFFFFF#000000##FFFFFF
##6A2F5E1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3F60
Deuteranopia (green-blind)
#40485C
Tritanopia (blue-blind)
#6F3242
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6a2f5e;
/* rgb */ color: rgb(106, 47, 94);
/* oklch */ color: oklch(40.3% 0.105 335.7);
Tailwind
colors: {
  custom: {
    50: '#966a8b',
    500: '#6a2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #6a2f5e;
$custom-light: #966a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2f5e",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 312.203,
    "s": 38.562,
    "l": 30
  },
  "oklch": {
    "l": 0.40296,
    "c": 0.10517,
    "h": 335.7
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#6A2F5E
secondary
#599B67
accent
#CE7159
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E070C
muted
#7E7A7D

Preview Lab

Preview with #6A2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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