#68186F#68186F

#68186F is a dark, vivid purple. Relative luminance 0.047; OKLCH L 38.2% C 0.153 H 324.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#68186F
RGBrgb(104, 24, 111)
HSLhsl(295, 64%, 26%)
HSVhsv(295, 78%, 44%)
CMYKcmyk(6.3%, 78.4%, 0%, 56.5%)
CIE-LABlab(25.99, 46.08, -31.99)
CIE-LCHlch(25.99, 56.09, 325.23°)
OKLaboklab(38.22% 0.1247 -0.0892)
OKLCHoklch(38.22% 0.153 324.4)
XYZxyz(8.9046, 4.7446, 15.4826)
Luminance0.0474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68186F #1F6F18
analogous
#3D186F #68186F #6F184B
triadic
#68186F #6F6818 #186F68
tetradic
#68186F #6F3D18 #1F6F18 #184B6F
square
#68186F #6F3D18 #1F6F18 #184B6F
split-complementary
#68186F #4B6F18 #186F3D
monochromatic
#180519 #390D3D #68186F #9723A1 #C52FD2

Accessibility & contrast

On white

10.78
#68186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#68186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68186F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68186F#FFFFFF#000000##FFFFFF
##68186F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#29416D
Tritanopia (blue-blind)
#6A2842
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #68186f;
/* rgb */ color: rgb(104, 24, 111);
/* oklch */ color: oklch(38.2% 0.153 324.4);
Tailwind
colors: {
  custom: {
    50: '#965f99',
    500: '#68186f',
    950: '#000000',
  },
}
SCSS
$custom: #68186f;
$custom-light: #965f99;
$custom-dark: #000000;
JSON
{
  "hex": "#68186f",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 295.172,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.15333,
    "h": 324.4
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#68186F
secondary
#46A53E
accent
#E7404E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #68186F

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

Preview Lab → · Contrast checker → · Palette generator →

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