#6A255C#6A255C

#6A255C is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.8% C 0.120 H 336.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#6A255C
RGBrgb(106, 37, 92)
HSLhsl(312, 48%, 28%)
HSVhsv(312, 65%, 42%)
CMYKcmyk(0%, 65.1%, 13.2%, 58.4%)
CIE-LABlab(27.19, 37.77, -17.74)
CIE-LCHlch(27.19, 41.73, 334.83°)
OKLaboklab(38.8% 0.1105 -0.0481)
OKLCHoklch(38.8% 0.121 336.5)
XYZxyz(8.5373, 5.1607, 10.6696)
Luminance0.0516 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A255C #256A33
analogous
#55256A #6A255C #6A2539
triadic
#6A255C #5C6A25 #255C6A
tetradic
#6A255C #6A5525 #256A33 #25396A
square
#6A255C #6A5525 #256A33 #25396A
split-complementary
#6A255C #396A25 #256A55
monochromatic
#170814 #3D1535 #6A255C #973583 #C04AA8

Accessibility & contrast

On white

10.33
#6A255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6A255C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A255C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A255C#FFFFFF#000000##FFFFFF
##6A255C1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A5E
Deuteranopia (green-blind)
#3C445A
Tritanopia (blue-blind)
#6F293D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a255c;
/* rgb */ color: rgb(106, 37, 92);
/* oklch */ color: oklch(38.8% 0.120 336.5);
Tailwind
colors: {
  custom: {
    50: '#97648a',
    500: '#6a255c',
    950: '#000000',
  },
}
SCSS
$custom: #6a255c;
$custom-light: #97648a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a255c",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 312.174,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38802,
    "c": 0.1205,
    "h": 336.5
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#6A255C
secondary
#4E9D5E
accent
#D86C50
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6A255C

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

Preview Lab → · Contrast checker → · Palette generator →

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