#6A255B#6A255B

#6A255B is a dark, moderate pink. Relative luminance 0.051; OKLCH L 38.8% C 0.120 H 337.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#6A255B
RGBrgb(106, 37, 91)
HSLhsl(313, 48%, 28%)
HSVhsv(313, 65%, 42%)
CMYKcmyk(0%, 65.1%, 14.2%, 58.4%)
CIE-LABlab(27.14, 37.60, -17.16)
CIE-LCHlch(27.14, 41.33, 335.46°)
OKLaboklab(38.75% 0.1103 -0.0465)
OKLCHoklch(38.75% 0.12 337.1)
XYZxyz(8.4939, 5.1433, 10.4409)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A255B #256A34
analogous
#56256A #6A255B #6A2539
triadic
#6A255B #5B6A25 #255B6A
tetradic
#6A255B #6A5625 #256A34 #25396A
square
#6A255B #6A5625 #256A34 #25396A
split-complementary
#6A255B #396A25 #256A56
monochromatic
#170813 #3D1534 #6A255B #973582 #C04AA6

Accessibility & contrast

On white

10.35
#6A255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A255B
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A255B#FFFFFF#000000##FFFFFF
##6A255B1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395D
Deuteranopia (green-blind)
#3C4459
Tritanopia (blue-blind)
#70283C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a255b;
/* rgb */ color: rgb(106, 37, 91);
/* oklch */ color: oklch(38.8% 0.120 337.1);
Tailwind
colors: {
  custom: {
    50: '#976489',
    500: '#6a255b',
    950: '#000000',
  },
}
SCSS
$custom: #6a255b;
$custom-light: #976489;
$custom-dark: #000000;
JSON
{
  "hex": "#6a255b",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 313.043,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.11968,
    "h": 337.1
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#6A255B
secondary
#4E9D5F
accent
#D86E50
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6A255B

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

Preview Lab → · Contrast checker → · Palette generator →

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