#682154#682154

#682154 is a dark, moderate pink. Relative luminance 0.047; OKLCH L 37.6% C 0.119 H 340.6°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#682154
RGBrgb(104, 33, 84)
HSLhsl(317, 52%, 27%)
HSVhsv(317, 68%, 41%)
CMYKcmyk(0%, 68.3%, 19.2%, 59.2%)
CIE-LABlab(25.78, 37.70, -14.68)
CIE-LCHlch(25.78, 40.45, 338.72°)
OKLaboklab(37.58% 0.1122 -0.0395)
OKLCHoklch(37.58% 0.119 340.6)
XYZxyz(7.8532, 4.6716, 8.8739)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#682154 #216835
analogous
#592168 #682154 #682131
triadic
#682154 #546821 #215468
tetradic
#682154 #685921 #216835 #213168
square
#682154 #685921 #216835 #213168
split-complementary
#682154 #316821 #216859
monochromatic
#170713 #3A122E #682154 #96307A #C3419E

Accessibility & contrast

On white

10.86
#682154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#682154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #682154
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##682154#FFFFFF#000000##FFFFFF
##6821541.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253656
Deuteranopia (green-blind)
#3B4152
Tritanopia (blue-blind)
#6E2237
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #682154;
/* rgb */ color: rgb(104, 33, 84);
/* oklch */ color: oklch(37.6% 0.119 340.6);
Tailwind
colors: {
  custom: {
    50: '#966284',
    500: '#682154',
    950: '#000000',
  },
}
SCSS
$custom: #682154;
$custom-light: #966284;
$custom-dark: #000000;
JSON
{
  "hex": "#682154",
  "rgb": {
    "r": 104,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 316.901,
    "s": 51.825,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.1189,
    "h": 340.6
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#682154
secondary
#499C60
accent
#DB754D
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #682154

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

Preview Lab → · Contrast checker → · Palette generator →

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