#6C285E#6C285E

#6C285E is a dark, moderate pink. Relative luminance 0.055; OKLCH L 39.6% C 0.119 H 336.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#6C285E
RGBrgb(108, 40, 94)
HSLhsl(312, 46%, 29%)
HSVhsv(312, 63%, 42%)
CMYKcmyk(0%, 63%, 13%, 57.6%)
CIE-LABlab(28.15, 37.27, -17.53)
CIE-LCHlch(28.15, 41.19, 334.82°)
OKLaboklab(39.61% 0.1089 -0.0475)
OKLCHoklch(39.61% 0.119 336.4)
XYZxyz(8.9636, 5.5146, 11.1798)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C285E #286C36
analogous
#58286C #6C285E #6C283C
triadic
#6C285E #5E6C28 #285E6C
tetradic
#6C285E #6C5828 #286C36 #283C6C
square
#6C285E #6C5828 #286C36 #283C6C
split-complementary
#6C285E #3C6C28 #286C58
monochromatic
#160813 #3F1737 #6C285E #993985 #BE50A8

Accessibility & contrast

On white

9.99
#6C285E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6C285E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C285E
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C285E#FFFFFF#000000##FFFFFF
##6C285E1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C60
Deuteranopia (green-blind)
#3E465C
Tritanopia (blue-blind)
#712B3F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6c285e;
/* rgb */ color: rgb(108, 40, 94);
/* oklch */ color: oklch(39.6% 0.119 336.4);
Tailwind
colors: {
  custom: {
    50: '#98668c',
    500: '#6c285e',
    950: '#000000',
  },
}
SCSS
$custom: #6c285e;
$custom-light: #98668c;
$custom-dark: #000000;
JSON
{
  "hex": "#6c285e",
  "rgb": {
    "r": 108,
    "g": 40,
    "b": 94
  },
  "hsl": {
    "h": 312.353,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39609,
    "c": 0.11883,
    "h": 336.4
  },
  "luminance": 0.05514
}

Semantic roles & 50–950 ramp

primary
#6C285E
secondary
#519E61
accent
#D66D52
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6C285E

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

Preview Lab → · Contrast checker → · Palette generator →

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