#6B255B#6B255B

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

Color values

HEX#6B255B
RGBrgb(107, 37, 91)
HSLhsl(314, 49%, 28%)
HSVhsv(314, 65%, 42%)
CMYKcmyk(0%, 65.4%, 15%, 58%)
CIE-LABlab(27.31, 37.90, -16.88)
CIE-LCHlch(27.31, 41.49, 335.99°)
OKLaboklab(38.91% 0.1115 -0.0457)
OKLCHoklch(38.91% 0.12 337.7)
XYZxyz(8.6134, 5.2050, 10.4465)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B255B #256B35
analogous
#58256B #6B255B #6B2538
triadic
#6B255B #5B6B25 #255B6B
tetradic
#6B255B #6B5825 #256B35 #25386B
square
#6B255B #6B5825 #256B35 #25386B
split-complementary
#6B255B #386B25 #256B58
monochromatic
#170813 #3E1534 #6B255B #983582 #C04AA5

Accessibility & contrast

On white

10.29
#6B255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B255B
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B255B#FFFFFF#000000##FFFFFF
##6B255B1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273A5D
Deuteranopia (green-blind)
#3D4459
Tritanopia (blue-blind)
#71283C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b255b;
/* rgb */ color: rgb(107, 37, 91);
/* oklch */ color: oklch(38.9% 0.120 337.7);
Tailwind
colors: {
  custom: {
    50: '#986589',
    500: '#6b255b',
    950: '#000000',
  },
}
SCSS
$custom: #6b255b;
$custom-light: #986589;
$custom-dark: #000000;
JSON
{
  "hex": "#6b255b",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 313.714,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38911,
    "c": 0.12045,
    "h": 337.7
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

primary
#6B255B
secondary
#4E9E60
accent
#D86F50
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6B255B

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

Preview Lab → · Contrast checker → · Palette generator →

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