#6A255E#6A255E

#6A255E is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.9% C 0.122 H 335.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#6A255E
RGBrgb(106, 37, 94)
HSLhsl(310, 48%, 28%)
HSVhsv(310, 65%, 42%)
CMYKcmyk(0%, 65.1%, 11.3%, 58.4%)
CIE-LABlab(27.29, 38.12, -18.90)
CIE-LCHlch(27.29, 42.54, 333.63°)
OKLaboklab(38.91% 0.1108 -0.0514)
OKLCHoklch(38.91% 0.122 335.1)
XYZxyz(8.6259, 5.1961, 11.1361)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A255E #256A31
analogous
#53256A #6A255E #6A253B
triadic
#6A255E #5E6A25 #255E6A
tetradic
#6A255E #6A5325 #256A31 #253B6A
square
#6A255E #6A5325 #256A31 #253B6A
split-complementary
#6A255E #3B6A25 #256A53
monochromatic
#170814 #3D1536 #6A255E #973586 #C04AAB

Accessibility & contrast

On white

10.30
#6A255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6A255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A255E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A255E#FFFFFF#000000##FFFFFF
##6A255E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#3B445C
Tritanopia (blue-blind)
#6F293E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a255e;
/* rgb */ color: rgb(106, 37, 94);
/* oklch */ color: oklch(38.9% 0.122 335.1);
Tailwind
colors: {
  custom: {
    50: '#97658c',
    500: '#6a255e',
    950: '#000000',
  },
}
SCSS
$custom: #6a255e;
$custom-light: #97658c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a255e",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 310.435,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38907,
    "c": 0.12217,
    "h": 335.1
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#6A255E
secondary
#4E9D5C
accent
#D86850
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6A255E

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

Preview Lab → · Contrast checker → · Palette generator →

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