#682158#682158

#682158 is a dark, vivid pink. Relative luminance 0.047; OKLCH L 37.8% C 0.122 H 337.8°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#682158
RGBrgb(104, 33, 88)
HSLhsl(314, 52%, 27%)
HSVhsv(314, 68%, 41%)
CMYKcmyk(0%, 68.3%, 15.4%, 59.2%)
CIE-LABlab(25.97, 38.35, -17.03)
CIE-LCHlch(25.97, 41.97, 336.05°)
OKLaboklab(37.78% 0.1129 -0.0461)
OKLCHoklch(37.78% 0.122 337.8)
XYZxyz(8.0144, 4.7360, 9.7227)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682158 #216831
analogous
#552168 #682158 #682135
triadic
#682158 #586821 #215868
tetradic
#682158 #685521 #216831 #213568
square
#682158 #685521 #216831 #213568
split-complementary
#682158 #356821 #216855
monochromatic
#170714 #3A1231 #682158 #96307F #C341A5

Accessibility & contrast

On white

10.79
#682158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#682158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682158
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682158#FFFFFF#000000##FFFFFF
##6821581.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23365A
Deuteranopia (green-blind)
#3A4156
Tritanopia (blue-blind)
#6E2439
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #682158;
/* rgb */ color: rgb(104, 33, 88);
/* oklch */ color: oklch(37.8% 0.122 337.8);
Tailwind
colors: {
  custom: {
    50: '#966287',
    500: '#682158',
    950: '#000000',
  },
}
SCSS
$custom: #682158;
$custom-light: #966287;
$custom-dark: #000000;
JSON
{
  "hex": "#682158",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 313.521,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37779,
    "c": 0.12199,
    "h": 337.8
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#682158
secondary
#499C5C
accent
#DB6D4D
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #682158

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

Preview Lab → · Contrast checker → · Palette generator →

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