#68397F#68397F

#68397F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.4% C 0.121 H 313.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#68397F
RGBrgb(104, 57, 127)
HSLhsl(280, 38%, 36%)
HSVhsv(280, 55%, 50%)
CMYKcmyk(18.1%, 55.1%, 0%, 50.2%)
CIE-LABlab(32.70, 33.74, -31.44)
CIE-LCHlch(32.70, 46.12, 317.02°)
OKLaboklab(43.4% 0.0831 -0.0878)
OKLCHoklch(43.4% 0.121 313.4)
XYZxyz(11.0022, 7.4019, 20.9237)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68397F #507F39
analogous
#45397F #68397F #7F3973
triadic
#68397F #7F6839 #397F68
tetradic
#68397F #7F4539 #507F39 #39737F
square
#68397F #7F4539 #507F39 #39737F
split-complementary
#68397F #737F39 #397F45
monochromatic
#23132B #452655 #68397F #8B4CA9 #A672C0

Accessibility & contrast

On white

8.47
#68397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#68397F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68397F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68397F#FFFFFF#000000##FFFFFF
##68397F1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#664456
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #68397f;
/* rgb */ color: rgb(104, 57, 127);
/* oklch */ color: oklch(43.4% 0.121 313.4);
Tailwind
colors: {
  custom: {
    50: '#9571a4',
    500: '#68397f',
    950: '#000000',
  },
}
SCSS
$custom: #68397f;
$custom-light: #9571a4;
$custom-dark: #000000;
JSON
{
  "hex": "#68397f",
  "rgb": {
    "r": 104,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 280.286,
    "s": 38.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.12093,
    "h": 313.4
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#68397F
secondary
#7FA96B
accent
#CE5A80
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0D080F
muted
#7E7B7F

Preview Lab

Preview with #68397F

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

Preview Lab → · Contrast checker → · Palette generator →

#68397F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva