#68257D#68257D

#68257D is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.150 H 317.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#68257D
RGBrgb(104, 37, 125)
HSLhsl(286, 54%, 32%)
HSVhsv(286, 70%, 49%)
CMYKcmyk(16.8%, 70.4%, 0%, 51%)
CIE-LABlab(28.77, 43.65, -36.46)
CIE-LCHlch(28.77, 56.88, 320.13°)
OKLaboklab(40.5% 0.1099 -0.1024)
OKLCHoklch(40.5% 0.15 317)
XYZxyz(10.0716, 5.7473, 19.9769)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68257D #3A7D25
analogous
#3C257D #68257D #7D2566
triadic
#68257D #7D6825 #257D68
tetradic
#68257D #7D3C25 #3A7D25 #25667D
square
#68257D #7D3C25 #3A7D25 #25667D
split-complementary
#68257D #667D25 #257D3C
monochromatic
#19091F #41174E #68257D #8F33AC #AE51CB

Accessibility & contrast

On white

9.77
#68257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#68257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68257D
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68257D#FFFFFF#000000##FFFFFF
##68257D1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#67364E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68257d;
/* rgb */ color: rgb(104, 37, 125);
/* oklch */ color: oklch(40.5% 0.150 317.0);
Tailwind
colors: {
  custom: {
    50: '#9665a3',
    500: '#68257d',
    950: '#000000',
  },
}
SCSS
$custom: #68257d;
$custom-light: #9665a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68257d",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 285.682,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.15016,
    "h": 317
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#68257D
secondary
#66AF4F
accent
#DE4A6D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68257D

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

Preview Lab → · Contrast checker → · Palette generator →

#68257D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva