#681174#681174

#681174 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.164 H 322.3°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#681174
RGBrgb(104, 17, 116)
HSLhsl(293, 74%, 26%)
HSVhsv(293, 85%, 45%)
CMYKcmyk(10.3%, 85.3%, 0%, 54.5%)
CIE-LABlab(25.58, 49.19, -35.86)
CIE-LCHlch(25.58, 60.87, 323.91°)
OKLaboklab(38.04% 0.1302 -0.1004)
OKLCHoklch(38.04% 0.164 322.3)
XYZxyz(9.0614, 4.6055, 16.9313)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681174 #1D7411
analogous
#361174 #681174 #74114E
triadic
#681174 #746811 #117468
tetradic
#681174 #743611 #1D7411 #114E74
square
#681174 #743611 #1D7411 #114E74
split-complementary
#681174 #4E7411 #117436
monochromatic
#18041B #38093F #681174 #9819A9 #C721DE

Accessibility & contrast

On white

10.93
#681174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#681174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681174
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681174#FFFFFF#000000##FFFFFF
##6811741.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#224072
Tritanopia (blue-blind)
#692744
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #681174;
/* rgb */ color: rgb(104, 17, 116);
/* oklch */ color: oklch(38.0% 0.164 322.3);
Tailwind
colors: {
  custom: {
    50: '#975d9c',
    500: '#681174',
    950: '#000000',
  },
}
SCSS
$custom: #681174;
$custom-light: #975d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#681174",
  "rgb": {
    "r": 104,
    "g": 17,
    "b": 116
  },
  "hsl": {
    "h": 292.727,
    "s": 74.436,
    "l": 26.078
  },
  "oklch": {
    "l": 0.38035,
    "c": 0.16442,
    "h": 322.3
  },
  "luminance": 0.04605
}

Semantic roles & 50–950 ramp

primary
#681174
secondary
#44AB36
accent
#F1374D
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681174

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

Preview Lab → · Contrast checker → · Palette generator →

#681174 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva