#68157B#68157B

#68157B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.167 H 319.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#68157B
RGBrgb(104, 21, 123)
HSLhsl(289, 71%, 28%)
HSVhsv(289, 83%, 48%)
CMYKcmyk(15.4%, 82.9%, 0%, 51.8%)
CIE-LABlab(26.48, 49.37, -38.88)
CIE-LCHlch(26.48, 62.84, 321.78°)
OKLaboklab(38.82% 0.1261 -0.1093)
OKLCHoklch(38.82% 0.167 319.1)
XYZxyz(9.5518, 4.9099, 19.1796)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68157B #287B15
analogous
#35157B #68157B #7B155B
triadic
#68157B #7B6815 #157B68
tetradic
#68157B #7B3515 #287B15 #155B7B
square
#68157B #7B3515 #287B15 #155B7B
split-complementary
#68157B #5B7B15 #157B35
monochromatic
#16041A #3C0C47 #68157B #941EAF #BB2FDB

Accessibility & contrast

On white

10.60
#68157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#68157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68157B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68157B#FFFFFF#000000##FFFFFF
##68157B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#1D4179
Tritanopia (blue-blind)
#682C49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #68157b;
/* rgb */ color: rgb(104, 21, 123);
/* oklch */ color: oklch(38.8% 0.167 319.1);
Tailwind
colors: {
  custom: {
    50: '#975ea2',
    500: '#68157b',
    950: '#000000',
  },
}
SCSS
$custom: #68157b;
$custom-light: #975ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#68157b",
  "rgb": {
    "r": 104,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 288.824,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38825,
    "c": 0.16685,
    "h": 319.1
  },
  "luminance": 0.04909
}

Semantic roles & 50–950 ramp

primary
#68157B
secondary
#51B03B
accent
#EE3A5C
background
#F9F5FA
surface
#F2EAF3
border
#CCC6CD
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #68157B

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

Preview Lab → · Contrast checker → · Palette generator →

#68157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva