#6B335D#6B335D

#6B335D is a dark, moderate pink. Relative luminance 0.063; OKLCH L 41.0% C 0.098 H 337.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6B335D
RGBrgb(107, 51, 93)
HSLhsl(315, 35%, 31%)
HSVhsv(315, 52%, 42%)
CMYKcmyk(0%, 52.3%, 13.1%, 58%)
CIE-LABlab(30.12, 30.98, -13.86)
CIE-LCHlch(30.12, 33.94, 335.89°)
OKLaboklab(41.02% 0.0904 -0.0373)
OKLCHoklch(41.02% 0.098 337.6)
XYZxyz(9.2231, 6.2844, 11.0810)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B335D #336B41
analogous
#5D336B #6B335D #6B3341
triadic
#6B335D #5D6B33 #335D6B
tetradic
#6B335D #6B5D33 #336B41 #33416B
square
#6B335D #6B5D33 #336B41 #33416B
split-complementary
#6B335D #416B33 #336B5D
monochromatic
#180B15 #421F39 #6B335D #944781 #B564A1

Accessibility & contrast

On white

9.31
#6B335D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6B335D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B335D
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B335D#FFFFFF#000000##FFFFFF
##6B335D1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34425E
Deuteranopia (green-blind)
#444A5B
Tritanopia (blue-blind)
#703543
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b335d;
/* rgb */ color: rgb(107, 51, 93);
/* oklch */ color: oklch(41.0% 0.098 337.6);
Tailwind
colors: {
  custom: {
    50: '#976d8b',
    500: '#6b335d',
    950: '#000000',
  },
}
SCSS
$custom: #6b335d;
$custom-light: #976d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b335d",
  "rgb": {
    "r": 107,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 315,
    "s": 35.443,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.09781,
    "h": 337.6
  },
  "luminance": 0.06284
}

Semantic roles & 50–950 ramp

primary
#6B335D
secondary
#5E9C6D
accent
#CB785C
background
#F9F6F8
surface
#F2ECF0
border
#CCC7CB
text
#0E070C
muted
#7E7A7D

Preview Lab

Preview with #6B335D

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

Preview Lab → · Contrast checker → · Palette generator →

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