#6B235E#6B235E

#6B235E is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.126 H 335.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#6B235E
RGBrgb(107, 35, 94)
HSLhsl(311, 51%, 28%)
HSVhsv(311, 67%, 42%)
CMYKcmyk(0%, 67.3%, 12.1%, 58%)
CIE-LABlab(27.12, 39.34, -19.14)
CIE-LCHlch(27.12, 43.75, 334.05°)
OKLaboklab(38.82% 0.1147 -0.0521)
OKLCHoklch(38.82% 0.126 335.6)
XYZxyz(8.6849, 5.1367, 11.1216)
Luminance0.0514 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B235E #236B30
analogous
#54236B #6B235E #6B233A
triadic
#6B235E #5E6B23 #235E6B
tetradic
#6B235E #6B5423 #236B30 #233A6B
square
#6B235E #6B5423 #236B30 #233A6B
split-complementary
#6B235E #3A6B23 #236B54
monochromatic
#170814 #3D1435 #6B235E #993287 #C246AC

Accessibility & contrast

On white

10.36
#6B235E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6B235E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B235E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B235E#FFFFFF#000000##FFFFFF
##6B235E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#3A445C
Tritanopia (blue-blind)
#70273D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6b235e;
/* rgb */ color: rgb(107, 35, 94);
/* oklch */ color: oklch(38.8% 0.126 335.6);
Tailwind
colors: {
  custom: {
    50: '#98648c',
    500: '#6b235e',
    950: '#000000',
  },
}
SCSS
$custom: #6b235e;
$custom-light: #98648c;
$custom-dark: #000000;
JSON
{
  "hex": "#6b235e",
  "rgb": {
    "r": 107,
    "g": 35,
    "b": 94
  },
  "hsl": {
    "h": 310.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3882,
    "c": 0.126,
    "h": 335.6
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#6B235E
secondary
#4B9E5A
accent
#DA674E
background
#F9F6F8
surface
#F2EBF0
border
#CCC6CB
text
#0E060C
muted
#7E7A7D

Preview Lab

Preview with #6B235E

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

Preview Lab → · Contrast checker → · Palette generator →

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