#6B255C#6B255C

#6B255C is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.121 H 337.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#6B255C
RGBrgb(107, 37, 92)
HSLhsl(313, 49%, 28%)
HSVhsv(313, 65%, 42%)
CMYKcmyk(0%, 65.4%, 14%, 58%)
CIE-LABlab(27.36, 38.07, -17.46)
CIE-LCHlch(27.36, 41.88, 335.36°)
OKLaboklab(38.96% 0.1116 -0.0473)
OKLCHoklch(38.96% 0.121 337)
XYZxyz(8.6569, 5.2224, 10.6752)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B255C #256B34
analogous
#57256B #6B255C #6B2539
triadic
#6B255C #5C6B25 #255C6B
tetradic
#6B255C #6B5725 #256B34 #25396B
square
#6B255C #6B5725 #256B34 #25396B
split-complementary
#6B255C #396B25 #256B57
monochromatic
#170814 #3E1535 #6B255C #983583 #C04AA7

Accessibility & contrast

On white

10.27
#6B255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B255C
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B255C#FFFFFF#000000##FFFFFF
##6B255C1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5E
Deuteranopia (green-blind)
#3C455A
Tritanopia (blue-blind)
#71283D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b255c;
/* rgb */ color: rgb(107, 37, 92);
/* oklch */ color: oklch(39.0% 0.121 337.0);
Tailwind
colors: {
  custom: {
    50: '#98658a',
    500: '#6b255c',
    950: '#000000',
  },
}
SCSS
$custom: #6b255c;
$custom-light: #98658a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b255c",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 312.857,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38962,
    "c": 0.12125,
    "h": 337
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#6B255C
secondary
#4E9E5F
accent
#D86D50
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6B255C

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

Preview Lab → · Contrast checker → · Palette generator →

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