#68186D#68186D

#68186D is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.1% C 0.152 H 325.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#68186D
RGBrgb(104, 24, 109)
HSLhsl(296, 64%, 26%)
HSVhsv(296, 78%, 43%)
CMYKcmyk(4.6%, 78%, 0%, 57.3%)
CIE-LABlab(25.87, 45.70, -30.90)
CIE-LCHlch(25.87, 55.17, 325.94°)
OKLaboklab(38.09% 0.1248 -0.086)
OKLCHoklch(38.09% 0.152 325.4)
XYZxyz(8.7957, 4.7010, 14.9091)
Luminance0.0470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68186D #1D6D18
analogous
#3D186D #68186D #6D1847
triadic
#68186D #6D6818 #186D68
tetradic
#68186D #6D3D18 #1D6D18 #18476D
square
#68186D #6D3D18 #1D6D18 #18476D
split-complementary
#68186D #476D18 #186D3D
monochromatic
#180619 #380D3B #68186D #98239F #C72ED1

Accessibility & contrast

On white

10.82
#68186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#68186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68186D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68186D#FFFFFF#000000##FFFFFF
##68186D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#2B416B
Tritanopia (blue-blind)
#6B2741
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #68186d;
/* rgb */ color: rgb(104, 24, 109);
/* oklch */ color: oklch(38.1% 0.152 325.4);
Tailwind
colors: {
  custom: {
    50: '#965f97',
    500: '#68186d',
    950: '#000000',
  },
}
SCSS
$custom: #68186d;
$custom-light: #965f97;
$custom-dark: #000000;
JSON
{
  "hex": "#68186d",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 296.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38088,
    "c": 0.1516,
    "h": 325.4
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#68186D
secondary
#44A33E
accent
#E7414B
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #68186D

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

Preview Lab → · Contrast checker → · Palette generator →

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