#681158#681158

#681158 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.2% C 0.142 H 337.0°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#681158
RGBrgb(104, 17, 88)
HSLhsl(311, 72%, 24%)
HSVhsv(311, 84%, 41%)
CMYKcmyk(0%, 83.7%, 15.4%, 59.2%)
CIE-LABlab(23.83, 44.38, -20.36)
CIE-LCHlch(23.83, 48.83, 335.35°)
OKLaboklab(36.23% 0.131 -0.0555)
OKLCHoklch(36.23% 0.142 337)
XYZxyz(7.6710, 4.0493, 9.6082)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681158 #116821
analogous
#4C1168 #681158 #68112C
triadic
#681158 #586811 #115868
tetradic
#681158 #684C11 #116821 #112C68
square
#681158 #684C11 #116821 #112C68
split-complementary
#681158 #2C6811 #11684C
monochromatic
#1A0416 #33082B #681158 #9D1A85 #D122B1

Accessibility & contrast

On white

11.60
#681158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#681158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681158
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681158#FFFFFF#000000##FFFFFF
##6811581.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14305A
Deuteranopia (green-blind)
#333D56
Tritanopia (blue-blind)
#6E1734
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #681158;
/* rgb */ color: rgb(104, 17, 88);
/* oklch */ color: oklch(36.2% 0.142 337.0);
Tailwind
colors: {
  custom: {
    50: '#965b87',
    500: '#681158',
    950: '#000000',
  },
}
SCSS
$custom: #681158;
$custom-light: #965b87;
$custom-dark: #000000;
JSON
{
  "hex": "#681158",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 311.034,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36233,
    "c": 0.14222,
    "h": 337
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#681158
secondary
#35A049
accent
#EF5B39
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #681158

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

Preview Lab → · Contrast checker → · Palette generator →

#681158 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva