#6B255E#6B255E

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

Color values

HEX#6B255E
RGBrgb(107, 37, 94)
HSLhsl(311, 49%, 28%)
HSVhsv(311, 65%, 42%)
CMYKcmyk(0%, 65.4%, 12.1%, 58%)
CIE-LABlab(27.46, 38.41, -18.62)
CIE-LCHlch(27.46, 42.69, 334.14°)
OKLaboklab(39.07% 0.112 -0.0506)
OKLCHoklch(39.07% 0.123 335.7)
XYZxyz(8.7454, 5.2578, 11.1418)
Luminance0.0526 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B255E #256B32
analogous
#55256B #6B255E #6B253B
triadic
#6B255E #5E6B25 #255E6B
tetradic
#6B255E #6B5525 #256B32 #253B6B
square
#6B255E #6B5525 #256B32 #253B6B
split-complementary
#6B255E #3B6B25 #256B55
monochromatic
#170814 #3E1536 #6B255E #983586 #C04AAA

Accessibility & contrast

On white

10.24
#6B255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6B255E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B255E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B255E#FFFFFF#000000##FFFFFF
##6B255E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#3B455C
Tritanopia (blue-blind)
#70293E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b255e;
/* rgb */ color: rgb(107, 37, 94);
/* oklch */ color: oklch(39.1% 0.123 335.7);
Tailwind
colors: {
  custom: {
    50: '#98658c',
    500: '#6b255e',
    950: '#000000',
  },
}
SCSS
$custom: #6b255e;
$custom-light: #98658c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b255e",
  "rgb": {
    "r": 107,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 311.143,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39065,
    "c": 0.12289,
    "h": 335.7
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#6B255E
secondary
#4E9E5D
accent
#D86950
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6B255E

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

Preview Lab → · Contrast checker → · Palette generator →

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