#681274#681274

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

Color values

HEX#681274
RGBrgb(104, 18, 116)
HSLhsl(293, 73%, 26%)
HSVhsv(293, 84%, 45%)
CMYKcmyk(10.3%, 84.5%, 0%, 54.5%)
CIE-LABlab(25.68, 48.91, -35.71)
CIE-LCHlch(25.68, 60.56, 323.87°)
OKLaboklab(38.1% 0.1294 -0.1)
OKLCHoklch(38.1% 0.164 322.3)
XYZxyz(9.0773, 4.6372, 16.9366)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#681274 #1E7412
analogous
#371274 #681274 #74124F
triadic
#681274 #746812 #127468
tetradic
#681274 #743712 #1E7412 #124F74
square
#681274 #743712 #1E7412 #124F74
split-complementary
#681274 #4F7412 #127437
monochromatic
#18041A #390A3F #681274 #981AA9 #C623DD

Accessibility & contrast

On white

10.90
#681274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#681274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #681274
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##681274#FFFFFF#000000##FFFFFF
##6812741.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.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: #681274;
/* rgb */ color: rgb(104, 18, 116);
/* oklch */ color: oklch(38.1% 0.164 322.3);
Tailwind
colors: {
  custom: {
    50: '#975d9c',
    500: '#681274',
    950: '#000000',
  },
}
SCSS
$custom: #681274;
$custom-light: #975d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#681274",
  "rgb": {
    "r": 104,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 292.653,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.38102,
    "c": 0.16356,
    "h": 322.3
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#681274
secondary
#45AB37
accent
#F0384E
background
#F9F5F9
surface
#F2E9F2
border
#CCC5CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #681274

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

Preview Lab → · Contrast checker → · Palette generator →

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