#6A245D#6A245D

#6A245D is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.123 H 335.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#6A245D
RGBrgb(106, 36, 93)
HSLhsl(311, 49%, 28%)
HSVhsv(311, 66%, 42%)
CMYKcmyk(0%, 66%, 12.3%, 58.4%)
CIE-LABlab(27.07, 38.41, -18.59)
CIE-LCHlch(27.07, 42.67, 334.18°)
OKLaboklab(38.73% 0.112 -0.0505)
OKLCHoklch(38.73% 0.123 335.7)
XYZxyz(8.5506, 5.1169, 10.8911)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A245D #246A31
analogous
#54246A #6A245D #6A243A
triadic
#6A245D #5D6A24 #245D6A
tetradic
#6A245D #6A5424 #246A31 #243A6A
square
#6A245D #6A5424 #246A31 #243A6A
split-complementary
#6A245D #3A6A24 #246A54
monochromatic
#170814 #3C1435 #6A245D #983485 #C148AA

Accessibility & contrast

On white

10.38
#6A245D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6A245D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A245D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A245D#FFFFFF#000000##FFFFFF
##6A245D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#3B445B
Tritanopia (blue-blind)
#6F283D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a245d;
/* rgb */ color: rgb(106, 36, 93);
/* oklch */ color: oklch(38.7% 0.123 335.7);
Tailwind
colors: {
  custom: {
    50: '#97648b',
    500: '#6a245d',
    950: '#000000',
  },
}
SCSS
$custom: #6a245d;
$custom-light: #97648b;
$custom-dark: #000000;
JSON
{
  "hex": "#6a245d",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 93
  },
  "hsl": {
    "h": 311.143,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38729,
    "c": 0.1229,
    "h": 335.7
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#6A245D
secondary
#4D9D5C
accent
#D9694F
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6A245D

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

Preview Lab → · Contrast checker → · Palette generator →

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