#68165F#68165F

#68165F is a dark, vivid purple. Relative luminance 0.043; OKLCH L 37.0% C 0.142 H 333.0°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#68165F
RGBrgb(104, 22, 95)
HSLhsl(307, 65%, 25%)
HSVhsv(307, 79%, 41%)
CMYKcmyk(0%, 78.8%, 8.7%, 59.2%)
CIE-LABlab(24.78, 43.92, -23.51)
CIE-LCHlch(24.78, 49.82, 331.84°)
OKLaboklab(37.04% 0.1268 -0.0645)
OKLCHoklch(37.04% 0.142 333)
XYZxyz(8.0614, 4.3438, 11.2381)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68165F #16681F
analogous
#481668 #68165F #681636
triadic
#68165F #5F6816 #165F68
tetradic
#68165F #684816 #16681F #163668
square
#68165F #684816 #16681F #163668
split-complementary
#68165F #366816 #166848
monochromatic
#190517 #350B31 #68165F #9B218D #CD2BBB

Accessibility & contrast

On white

11.24
#68165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#68165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68165F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68165F#FFFFFF#000000##FFFFFF
##68165F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123361
Deuteranopia (green-blind)
#323F5D
Tritanopia (blue-blind)
#6D1F39
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #68165f;
/* rgb */ color: rgb(104, 22, 95);
/* oklch */ color: oklch(37.0% 0.142 333.0);
Tailwind
colors: {
  custom: {
    50: '#965d8c',
    500: '#68165f',
    950: '#000000',
  },
}
SCSS
$custom: #68165f;
$custom-light: #965d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#68165f",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 306.585,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37036,
    "c": 0.14225,
    "h": 333
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#68165F
secondary
#3B9F46
accent
#E85240
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E050C
muted
#7E797D

Preview Lab

Preview with #68165F

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

Preview Lab → · Contrast checker → · Palette generator →

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